1836617 Members
2203 Online
110102 Solutions
New Discussion

Re: General info

 
Vivek Bhatia
Trusted Contributor

General info

How many machines connected to your system?
How to check that?
How to find how many ports are open on the system?
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: General info

To mine or yours? :)

How to check that?
direct connections (telnet ssh rlogin etc)
# who -uH

How to find how many ports are open on the system?
# netstat -an
Or you can use lsof, if you do not have lsof installed, you can download it from the link.
# lsof -i tcp
# lsof -i udp

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.80/
Jaime Bolanos Rojas.
Honored Contributor

Re: General info

Vivekbhatia,

Open ports, you could use the netstat command or check the /etc/services file.

Regards,

Jaime.
Work hard when the need comes out.