Saturday, March 29, 2008
Very usefull Command
svmonsvmon -P Further:use can user svmon command to monitor memory usage as follows;(A) #svmon -P -v -t 10 more (will give top ten processes)(B) #svmon -U -v -t 10 more ( will give top ten user)smit install requires "inutoc ." first. It'll autogenerate a .toc for youI believe, but if you later add more .bff's to the same directory, thenthe inutoc . becomes important. It is of course, a table of contents.dump -ov /dir/xcoff-filetopas, -P is useful # similar to topWhen creating really big filesystems, this is very helpful:chlv -x 6552 lv08Word on the net is that this is required for filesystems over 512M.esmf04m-root> crfs -v jfs -g'ptmpvg' -a size='884998144' -m'/ptmp2'-A''`locale yesstr awk -F: '{print $1}'`'' -p'rw' -t''`locale yesstr awk -F: '{print $1}'`'' -a frag='4096' -a nbpi='131072' -a ag='64'Based on the parameters chosen, the new /ptmp2 JFS file systemis limited to a maximum size of 2147483648 (512 byte blocks)New File System size is 884998144esmf04m-root>If you give a bad combination of parameters, the command will listpossibilities. I got something like this from smit, then seasonedto taste.If you need files larger than 2 gigabytes in size, this is better.It should allow files up to 64 gigabytes:crfs -v jfs -a bf=true -g'ptmpvg' -a size='884998144' -m'/ptmp2' -A''` locale yesstr awk -F: '{print $1}'`'' -p'rw' -t''`locale yesstr aw k -F: '{print $1}'`'' -a nbpi='131072' -a ag='64' Show version of SSP (IBM SP switch) software:lslpp -al ssp.basicllctl -g reconfig - make loadleveler reread its config filesoslevel (sometimes lies)oslevel -r (seems to do better)lsdev -Cc adapterpstat -a looks usefulvmo is for VM tuningOn 1000BaseT, you really want this:chdev -P -l ent2 -a media_speed=Auto_NegotiationSetting jumbo frames on en2 looks like:ifconfig en2 down detachchdev -l ent2 -a jumbo_frames=yeschdev -l en2 -a mtu=9000chdev -l en2 -a state=upSearch for the meaning of AIX errors:http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/eisearch.htm nfso -a shows AIX NFS tuning parameters; good to check on if you'regetting badcalls in nfsstat. Most people don't bother to tweaks thesethough.nfsstat -m shows great info about full set of NFS mount optionsTurn on path mtu discoveryno -o tcp_pmtu_discover=1no -o udp_pmtu_discover=1TCP support is handled by the OS. UDP support requires cooperationbetween OS and application.nfsstat -c shows rpc statsTo check for software problems:lppchk -vlppchk -clppchk -lList subsystem (my word) status:lssrc -amkssysrmssyschssysauditprrefreshstartsrcstopsrctracesontracesoffThis starts sendmail:startsrc -s sendmail -a "-bd -q30m"This makes inetd reread its config file. Not sure if it kills andrestarts or just HUP's or what:refresh -s inetdlsps is used to list the characteristics of paging space.Turning off ip forwarding:/usr/sbin/no -o ipforwarding=0Detailed info about a specific error:errpt -a -jE85C5C4CBTW, Rajiv Bendale tells me that errors are stored in NVRAM on AIX,so you don't have to put time into replicating an error as often.Some or all of these will list more than one number. Trust the first,not the second.lslpp -l ppe.poe...should list the version of poe installed on the systemCheck on compiler versions:lslpp -l vac.Clslpp -l vacpp.cmp.coreCheck on loadleveler version:lslpp -l LoadL.fullIf you want to check the bootlist do bootlist -o -m normal if you want toupdate bootlist do bootlist -m normal hdisk* hdisk* cd* rmt*prtconfRun the ssadiag against the drive and the adapter and it will tell you if itfails or not.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment