======AIX - Sluzby======
lssrc -a - list system resource center - list of services, which are on and off
refresh -s syslogd ... znovun nacte demona syslogd
startsrc -l lpd ... start service lpd
stopsrc -s syslogd ... stop service
===/etc/inittab===
chitab ... zmeni zaznam v inittabu
mkitab ... vytvori zaznam v inittabu
rmitab ... smaze zaznam v inittabu
telinit n ... zmeni runlevel na cislo n
===nfs===
startsrc -g nfs ... start nfs service\\
lssrc -g nfs ... list nfs services\\
stopsrc ... stop nfs services\\
/etc/services (mountd) ... nastavi privilegovany port pro mountd\\
mknfs ... make nfs - start nfs
rmnfs ... remove nfs - stop nfs
chnfs ... change nfs - change options of nfs
mknfsexp ... make nfs export
mknfsmnt ... make nfs mount
/usr/sbin/mknfsexp -d '/export/mksysb' '-B' -S 'sys' -t 'rw' -h '10.10.20.0/24' -c '10.10.20.0/24' -r '10.10.20.0/24' ... prida mountpoint do /etc/exports\\
/etc/xtab ... FS, ktere jsou namountovane na klienty (ktere pouziva nfs.mountd)\\
===automounter===
automount
stopsrc -s automount
===nis===
chypdom - change nis domain
ypset
===ldap===
start-secldapclntd\\
stop-secldapclntd\\
restart-secldapclntd\\
ls-secldapclntd\\
\\
/etc/security/ldap/ldap.cfg ... knfiguracni soubor LDAP klienta\\
/etc/ldap.conf ... konfiguracni soubor sudosasu\\
gsk7cmd -keydb -create -db /usr/ldap/etc/clientkey.kdb -pw PASSWD -type cms ... Vytvori certifikacni soubor s klicem\\
gsk7cmd -keydb -stashpw -db /usr/ldap/etc/clientkey.kdb -pw PASSWD\\
gsk7cmd -cert -add -db /usr/ldap/etc/clientkey.kdb -pw PASSWD -file FILE.cer -format ascii -label gsnixldap1 -trust enable ... prida certifikat duveryhodneho serveru\\
gsk7cmd -cert -list -db /usr/ldap/etc/clientkey.kdb -pw PASSWD ... vylistuje duveryhodne servery\\
idsldapsearch -h gsnixldap1 -D "cn=SI4,cn=Clients,ou=unix,ou=SI4,dc=customers,dc=fr,dc=ibm,dc=com" -w ANTKaf4! -p 636 -Z -K /usr/ldap/etc/clientkey.kdb -P PASSWD -s sub -b "" objectclass=* ... vylistuje data z ldap serveru\\
mksecldap -c -h gsnixldap1,gsnixldap2 -p 389 -a "cn=SI4,cn=Clients,ou=unix,ou=SI4,dc=customers,dc=fr,dc=ibm,dc=com" -p PASSWD -d "cn=aixdata,ou=unix,ou=SI4,dc=customers,dc=fr,dc=ibm,dc=com" -t 60 -A ldap_auth ... zmeni nastaveni ldap klienta\\
ibmslapd
mksecldap
===dhcp===
startsrc -s hdcpcd
===nim===
lsnim ... (list of Network Installer Manager) vypise seznam definovanych objektu
nimclient ... klient nimu
nim ... master nimu
nimconfig ... nastaveni nim masteru
===Listener===
lsnrctl start
lsnrctl stop
lsnrctl stat
ps eaf | grep LISTENER
===Oracle===
sqlplus / as sysdba
SQL> startup
sqlplus / as sysdba
SQL> shutdown
ps eaf|grep Ť ora_ ť
sqlplus /as sysdba
SQL> select status, database_status from v$instance ;
===SAP===