Kevin J. Cummings wrote:
david walcroft wrote:
Tim wrote:
On Fri, 2007-12-14 at 09:18 +1000, david walcroft wrote:
[root@reddwarf ~]# ps aux -columns 256 |grep cupsd
ERROR: Unknown user-defined format specifier "lumns".
You should have had a double-dash in front of "columns".
i.e. ps aux --columns 256 |grep cupsd
[david@reddwarf ~]$ sudo ps aux --columns 256 |grep cupsd
david 17568 0.0 0.0 4044 676 pts/1 S+ 15:49 0:00 grep cupsd
[david@reddwarf ~]$
It seems that cupsd is running.
Uh, no! The only process found was the process running the grep. Take
a closer look. If cupsd was running, the grep would have printed 2
lines, like:
root 1364 0.0 0.0 3892 660 pts/2 S+ 01:14 0:00 grep cupsd
root 3308 0.0 0.1 9764 2540 ? Ss Dec11 0:18 cupsd
What does "chkconfig --list cups" tell you?
mine shows:
cups 0:off 1:off 2:on 3:on 4:on 5:on 6:o
[david@reddwarf ~]$ sudo chkconfig --list cups
cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[david@reddwarf ~]$
david