![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix or Linux Systems Admin - 24dash.com | iBot | UNIX and Linux RSS News | 0 | 07-27-2007 05:30 AM |
| Need HPUX admin commands lost | sunanda | HP-UX | 2 | 05-09-2007 04:42 PM |
| root/admin commands in LINUX | naina | UNIX for Dummies Questions & Answers | 6 | 12-26-2005 02:24 AM |
| All Linux and Unix commands Links | devotedsinner | News, Links, Events and Announcements | 0 | 11-07-2005 04:49 AM |
| unix commands in linux-red hat | yls177 | UNIX for Dummies Questions & Answers | 4 | 09-18-2002 01:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
try that command and you will see
Code:
fc -l 0 |awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -10
103 ls 99 cd 88 vi 42 rm 40 more 28 pwd 22 tar 22 awk 15 sed 13 man regards pressy |
| Forum Sponsor | ||
|
|
|
#9
|
||||
|
||||
|
You can tell this box had some disk issues
62 ls 42 cd 34 metastat 32 ptree 26 /usr/platform/`uname -i`/sbin/prtdiag 20 rm 20 cfgadm 19 format 15 ps 14 tail |
|
#10
|
||||
|
||||
|
My two cents..
1. iostat (have seen slow response too many times due to overloaded disks) 2, 3. netstat, ifconfig (know thy ip addresses and ports) 4, 5. lsof, ps (keep an eye on which process is doing what) 6. awk (to make sense of the ps and lsof) 7. grep (when awk is too powerful) 8. truss (if you have any good ol' C,C++,pro*C programs that go awry) 9. kill (-3 to get thread dumps - super useful if you have application servers on your box and sometimes you have no choice but a good '-9') 10. vxdiskadm (hate this command, never use it, but can't think of any other command that lets you do Veritas volume manager admin through a single command). Last edited by blowtorch; 11-09-2006 at 08:31 PM. |
|
#11
|
||||
|
||||
|
Here's my Solaris top 10 usefull commands
egrep prstat ls -Alh (h flag is Sol10 only) vim (Sunfreeware) ps -ef chmod chown showmount prtdiag dmesg Last edited by Tornado; 11-10-2006 at 12:47 AM. |
|
#12
|
||||
|
||||
|
I am no SysAdmin.
My top 10 commands... order does not matter. ps make vim find grep cd ls diff ctags gdb |
|
#13
|
||||
|
||||
|
10 commands you need.
1. cp - use it before you edit a file like /etc/system 2. tar cf - use it before you edit a file/configuration/move a server 3. ufsdump - use it before you change a filesystem/file/configuration/disk/move a server 4. pwd - use it before you do that rm -r ./* 5. uname -a - use it before you do that rm -r ./* (make sure you are on that host you "know" you are on) 6. ufsrestore - won't be any good if you can't bring those ufsdumps back 7. tar xf - won't be any good if you can't bring those tar'ed files back 8. man - you can find so many more commands that will cause you to need these others to get you out of trouble 9. vi - and more importantly, :q! to get out without saving. 10. exit, logout - keeps a server safe! |
||||
| Google The UNIX and Linux Forums |