1) To check the top process used in Unix server
topas
Above command will provide details CPU Usage , order top processed based on their CPU usage in descending order.
2) To check the unix OS version used in Unix server
oslevel -s
3) To check the unix ssl version
lslpp -l | grep -i opessh
4) Memory related commands
vmstat
provides the system configuration. No of logical cpus, current ram allocated, entitle ment of CPU etc.
svmon -G
Provides the details of usage of memory usage and free space in server memory.
lparstat -i |egrep 'Memory|CPU'
Provides the details of no of virtual CPU , Max CPU,Min CPU, Max and Min memory , Active Cpus etc.
4) To check process in the unix
ps -ef | grep processname
to check the idle process
ps -aux
to check the Zombie process below command can be ued
ps -el | grep 'Z'
to kill the process
kill -9 <processid>
to get user user process
ps -u <userid>
5) To check the logical partition we can use the command
laparstat
6) To check the host name we can use the hostname command
and once we get hostname we can idetify ip address using the below command
nslookup servername
No comments:
Post a Comment