A) prtconf only for AIX.
2) Command to find disk free space?
A) Df –k or m
3) In ls -lrt, what t stands for and r stands for l stands for?
A)-l shows you huge amounts of information (permissions, owners, size, and when last modified.)
-r reverses the order of how the files are displayed.
-t shows you the files in modification time
4) How to check a particular port is listening or not in UNIX?
A) netstat -a
grep 80
5) How do you perform heap dump and thread dump?
A) Kill -3 <
6). How to check disk usage in Linux or UNIX?
A) Du -k
7). How to check the multiple NIC in Unix or Linux?
A) ifconfig -a
8). How to identify and kill a process ID?
A) Ps –ef
9) How to find the process id (PID) using port no?for example 80 is the port no
A) lsof -i TCP:80
10) To find the no.of running JAVA process
A) ps -ef
grep java
wc -l
11) How to find out that a port is listening on remote Box ? Example 80 is the pot no
A) telnet Hostname 80
12) What to see only last 10 lines of a log file ?
A) tail -10 logfilename
No comments:
Post a Comment