10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
i am using the below command and once get the output and i need to keep the
first batch only.in this case how to do this one. please help me on thistop -b -n 5 >top.txt
Thanks, (3 Replies)
Discussion started by: bmk
3 Replies
2. Shell Programming and Scripting
Currently when i run top command i get the following columns .
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
In this how to remove '%WCPU' column ?
Thanks very much in advance . (6 Replies)
Discussion started by: kpravinraj
6 Replies
3. Shell Programming and Scripting
Hi all,
I found like top command could be used to find the Memory and CPU utilization. But i want to know how to find the Memory and CPU utilization for a particular user using top command.
Thanks in advance.
Thanks,
Ananthi.U (2 Replies)
Discussion started by: ananthi_ku
2 Replies
4. AIX
Is there a 'top' command equivalent in AIX 4.2 ?
I already checked and I do not see the following ones anywhere:
top
nmon
topas (1 Reply)
Discussion started by: Browser_ice
1 Replies
5. Shell Programming and Scripting
Hi ,
can some one please assist me in using top command
im facing following after using top:
# top -hv
UX:sh (top): ERROR: top: syntax error at line 1: `(' unexpected
# top -p
UX:sh (top): ERROR: top: syntax error at line 1: `(' unexpected
thanks in advance (3 Replies)
Discussion started by: NIMISH AGARWAL
3 Replies
6. Solaris
Hi,
How to install software package top in solaris, (4 Replies)
Discussion started by: manoj.solaris
4 Replies
7. Shell Programming and Scripting
Hey,
Using one single line of command i am trying to show the CPU usage for 4 processors and then filter it out and write it to a text file. Everything seams ok except that i am not able to switch from having the top command show me all CPU processes seperate opposed to showing me the average of... (8 Replies)
Discussion started by: Georgesaa
8 Replies
8. UNIX for Dummies Questions & Answers
Hey,
Using one single line of command i am trying to show the CPU usage for 4 processors and then filter it out and write it to a text file. Everything seams ok except that i am not able to switch from having the top command show me all CPU processes seperate opposed to showing me the average of... (0 Replies)
Discussion started by: Georgesaa
0 Replies
9. UNIX for Dummies Questions & Answers
hi guys,
i am having a dual cpu xeon machine.
i came to know that i can view the performance by giving top command.
but top command shows only the usage of one cpu in percentage
while the process are using more than 100% usage in the list .
can i know separately the usage of cpus.
can you... (5 Replies)
Discussion started by: bijuhpd
5 Replies
10. UNIX for Dummies Questions & Answers
I understand the numbers displayed in variable "load average". My question: what are the correct/ideal numbers?
Sometimes, I got less than 1. Others, above 6.
Also, what HW/SW should I tune in order to have the ideal numbers?
Thank you ... (1 Reply)
Discussion started by: dgromerog
1 Replies
lpc(8) System Manager's Manual lpc(8)
Name
lpc - line printer control program
Syntax
/etc/lpc [ command [ argument... ] ]
Description
The program is used by the system administrator to control the operation of the line printer system. For each line printer with an entry
in the file, may be used to start/stop several different functions.
Without any arguments, prompts for commands from the standard input. If arguments are supplied, interprets the first argument as a command
and the remaining arguments as parameters to the command. The standard input may be redirected causing to read commands from file. The
commands and their parameters are shown below. Commands may be abbreviated.
? [ command... ]
help [ command... ]
Prints a short description of each command specified in the argument list, or, if no arguments are given, a list of the recognized
commands.
abort [ all ] [ printer... ]
Terminates an active spooling daemon on the local host immediately and then disables printing (preventing new daemons from being
started by for the specified printers.
clean [ all ] [ printer... ]
Removes all files beginning with ``cf'', ``tf'', or ``df'' from the specified printer queue(s) on the local machine.
enable [ all ] [ printer... ]
Enables spooling on the local queue for the listed printers. This will allow to put new jobs in the spool queue.
exit
quit
Exits from
disablefR [ all ] [ printer... ]
Turns off the specified printer queues. This prevents new printer jobs from being entered into the queue by
restart [ all ] [ printer... ]
Attempts to start a new printer daemon. This is useful when some abnormal condition causes the daemon to die unexpectedly leaving
jobs in the queue. The command will report that there is no daemon present when this condition occurs.
start [ all ] [ printer... ]
Enables printing and starts a spooling daemon for the listed printers. This command also creates an file in the printer's spool
directory. The file can be used by filters as an initialization flag.
status [ all ] [ printer... ]
Displays the status of daemons and queues on the local machine.
stop [ all ] [ printer... ]
Stops a spooling daemon after the current job completes and disables printing.
topq printer [ jobnum... ] [ user... ]
Places the jobs in the order listed at the top of the printer queue.
Diagnostics
?Ambiguous command
Abbreviation matches more than on command.
?Invalid command
No match was found.
?Privileged command
The command can only be executed by root.
Files
Printer description file
Spool directories
Lock file for queue control
See Also
lpq(1), lpr(1), lprm(1), printcap(5), lpd(8)
lpc(8)