Académique Documents
Professionnel Documents
Culture Documents
tcpdump
7. To check tomcat apache server is running in AIX or LINUX or not... ps -ef |egrep "http|tomcat" 8. HTML server logs path in aix /var/log/pconsole/logs
9. To look which file system is using more space and what files need to delete i t For eg : /var du -ks * | sort -nr | more du -g * | sort -nr | more ------ to see in KB ------- to see in GB
10.
Linux - Commands - to list the how manty files in that path #ls -lrt /d02/oracle/Backup/Prod|tail -1|awk '{print $9}'
11. ls -laR | grep Sep | pg ---> this command will list all the files modified i n the month of September.
12. # prtconf -k --- To list kernel Type 13. lsdev -Cc if --- To list attached devices and charecteristics. 14. # entstat -d en0 | grep "Media Speed" ---> To list Ethernet speed statistic s
15. restore -xqvf /dev/rmt0 /<restore mount point> ----> to restore the Mksysb backup from tape to server.
16.# savevg -f /dev/rmt0 <volume group name> -------> to take data volume group directly into server.
17.# restvg -f /dev/rmt0 <destination disk name> --------> To restore the SAVEV G ( DATA VOLUME GROUP ). It wont affect any l ogical volume sizes and mount names.
19. # restore -qvxf /dev/rmt0/ -------------> To restore all files or dire ctories completely from Tape to server.
20. To check what are the controllers are available or defined status in AIX se rver lsdev -C |grep I/O
21. To Dispaly the devices that are connected to scsi or fcp ( fibre channel pr otocol ) lsdev -C -s scsi -----> For scsi contoller
lsdev -C -s fcp
23. To find when the user creation date and time in linux server..?
passwd -S username
ls -ltcr itsupp
iostat -p
27. To see the relationship between Virtual CPU s and Logical CPU s and how the CPU is scheduling workload do:
mpstat
s 1
28. To find what files are using more space --- To clear logs on /var file sys tem find /var -xdev -size +2048 -ls| sort -r +6
29. To check HBA (FIBRE CHANNEL PORT) status SAN OVER AIX SERVER, put the below command...
# fcstat fcs0 , fcs1 OR # fcstat fcs2 , fcs3 30. To check HBA arributes of FC port # lsattr -El fcs0
31. To find HBA STATUS IN AIX # # fcstat -D fcs0 |grep Attention Attention Type: Link Up
33. To find unmounted filesystems in a server, helpful command especially after installs/upgrade lsvg -o |lsvg -il |grep -i closed 34. svmon -O summary=basic,unit=auto ---------- To check Physical memory avail able in GB