lsof:-
To find the PID of the port that is listening.
Eg:lsof –I | grep
If lsof is not installed then the “SMClsof” package has to be installed for the lsof command to work.
Pkgtrans:-
To transform a package from one form to another.(i.e. to a installable format)
Eg: pkgtrans –o
-o option Overwrites the same instance on the destination device. The package instance is overwritten if it already exists.
Packaage info on AIX:-
lslpp –l / lslpp –L to see the packages installed on AIX.
Eg: lslpp -L | grep -i rsc
Swap Memory on AIX:-
to see the page space on AIX,use lsps command
Eg: lsps –a
-a option Specifies that the characteristics of all paging spaces are to be given. The size is given in megabytes.
To clear a File:-
To clear the content of a file not a file, the below command can be used.
:> Filename
Eg: # more empty
I am not a empty file
# :> empty
# more empty
#
No comments:
Post a Comment