Date post: | 30-Dec-2015 |
Category: |
Documents |
Upload: | lila-oconnor |
View: | 30 times |
Download: | 1 times |
INFOhio System Administration
System Admin. Basics
•Regular Backups –including OS Backups
•Restricting Access–Disable telnet and FTP via firewall
INFOhio System Administration
Common Unix Commandstar df -kh
compress / uncompress
gzip / gunzip
ufsdump ufsrestore
INFOhio System Administration
netstatnetstat –rn
Shows system routing table
netstat –i Shows connectivity information for each interface.
netstat –an Complete information on all sockets
INFOhio System Administration
iostat iostat
Shows summary disk information
iostat –xtcShows disk statistics per disk / volume / mirror
INFOhio System Administration
vmstatvmstat 5
Displays a summary of what the system is doing every 5 min.
INFOhio System Administration
psps –Af
Display details on all processes
ps -o user,pid,ppid=MOM
Displays each user, their PID, the current command being run
and the parent PID
INFOhio System Administration
pingping 65.17.185.332
Checks to see if the host at this IP is “alive”
ping –s 65.17.186.144 Continues to ping the address until interrupted by the user
INFOhio System Administration
traceroutetraceroute 65.17.186.133
traceroute www.google.com Output the time it takes for requests to get to the address and how much time it takes between each segment (hop) of the trip to the host.
INFOhio System Administration
ifconfigIfconfig –a
Shows all Ethernet adapters on server along with their states
INFOhio System Administration
metastatmetastat
Shows status of all metadevices on system
metastat | grep maint
INFOhio System Administration
prstatShows the top x number of processes in order by the % CPU each processes is using.
INFOhio System Administration
ptree
ptreeShows a tree of all processes
ptree 22032Shows the process tree for process 22032
INFOhio System Administration
pfilespfiles 22410
Shows all the files currently open by process 22410
INFOhio System Administration
Procedures Run Regularly
•OHnightlybackup.sh
•OHtarbackupall.sh
•OHdailymaintall.sh
•OHdumpusersall.sh
•OHcleanreportsall.sh
•OHcreateyesterday.sh
INFOhio System Administration
INFOhio Scripts
•OHbarcodesused.sh
•OHbargen.sh
•OHchangeadminpwd.sh
•OHcheckrequiredrpts.sh
•OHclearpupfiles.sh
•OHcompressconvall.sh
INFOhio System Administration
INFOhio Scripts (continued)
•OHdummytestdata.sh
•OHemailattachment.sh•OHfixmissing.sh (under development)
•OHhaltrun.sh / OHhaltrunall.sh
•OHhaltws.sh / OHrunws.sh
•OHisamcheck.sh
INFOhio System Administration
INFOhio Scripts (continued)
•OHmakescreens.sh•OHmaketabs.sh / OHmakewizards.sh
•OHmissingcheckouts.sh
•OHpolicybak.sh
•OHpopulatepin.sh•OHprep4java.sh (under development)
INFOhio System Administration
INFOhio Scripts (continued)
•OHshutdown.sh
•OHswap.sh
•OHtarbackup.sh
•OHtrimerrorlog.sh
INFOhio System Administration
INFOhio System Admin
•Recovery from Power Failure
•Getting Assistance
•Required Maintenance Reports–Prepare GUI Offline Data
•Messages on the Daily Errlor Report
INFOhio System Administration
INFOhio System Admin
•Investigating Reported Transaction Problems
–Logscan report–logprint
•End-of-Year and Summer Tasks