Register | Login

Solaris lsof equivalent script command

Posted by madeeswer 2055 days ago (Editorial)

for PID in `/usr/bin/ps -e -o pid`;do


echo Checking PID $PID...


/usr/local/bin/sudo /usr/bin/pfiles $PID|grep port:


done



Who Voted for this Article



YourWiz.com, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.