[PLUG] No printing in RH 8

Paul Heinlein heinlein at attbi.com
Fri Dec 20 07:40:05 UTC 2002


On 20 Dec 2002, Dirk Ouellette wrote:

> Here is my machines answer;
> 
> root]# lsof -i :515
> bash: lsof: command not found
> [root at localhost root]# /sbin/lsof -i :515
> bash: /sbin/lsof: No such file or directory

On my RH 8 box, I get this:

  [heinlein at debs heinlein]$ which lsof
  /usr/sbin/lsof
  [heinlein at debs heinlein]$ rpm -qf /usr/sbin/lsof 
  lsof-4.63-2

It's a handy utility; I'd recommend installing it if you're not short 
of disk space.

If you can't install lsof, you can still use netstat:

  netstat -anl | grep -w 515

That'll at least tell you if your machine is already trying to listen
to something on port 515 -- though, unlike lsof, it won't tell you
what program is bound to the port.

--Paul Heinlein <heinlein at attbi.com>






More information about the PLUG mailing list