Sponsored Content
Full Discussion: hardware status
Special Forums UNIX and Linux Applications Infrastructure Monitoring hardware status Post 302357767 by sagii on Wednesday 30th of September 2009 01:42:41 PM
Old 09-30-2009
Java hardware status

Hi all,
is there any way to find hardware status. I mean can i know that status of printer is on or off not the queue. I am asking printer status.Please guide me if you have any idea related to it. thanks

sagi
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Couldn't open status file /var/samba/STATUS.LCK

I believe i have most of samba configured right but i get this error each time time try to run it. I was given suggestion that i touch the file, i did, but i still cannot rid myself of this error. Any suggestions (2 Replies)
Discussion started by: macdonto
2 Replies

2. UNIX Desktop Questions & Answers

hardware 3d

How do I check my system to see if the graphics are using hardware 3d suport or not. I have a TNT2 on RH 7.1 kernel 2.4.9-?(can't remember off top of my head)I'm running all the latest updates from RH. Also I now have a dvd drive and I am trying to find a player that will play all movies and not... (1 Reply)
Discussion started by: MaxCat
1 Replies

3. UNIX for Dummies Questions & Answers

Per and Hardware

Is it possible to use Perl to work with hardware? Or is it strictly for text processing. (1 Reply)
Discussion started by: Luftwaffe
1 Replies

4. Shell Programming and Scripting

check the status and send an email with status

Hi, We have a text file which has the following data. ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183 7~U~00200~000011258~0~P~< GS~FA~EE05J~U1CAD~051227~1831~000011258~X~002002 ST~997~0001 AK1~SH~247 AK2~856~2470001 AK5~A AK2~856~2470002 AK5~A... (3 Replies)
Discussion started by: isingh786
3 Replies

5. Red Hat

Installing RedHat 8.0 onto Dell PowerEdge SC1425 - hdc: status error: status = 0x58

I have successfully installed RedHat 8.0 onto a Dell PowerEdge SC1425 today. This server has two SATA hard drives, and an IDE DVD-ROM drive. Using the following kernel parameters, i successfully installed across both hard drives from CD: ide0=0x1f0,0x3f6,14 vga=791 resolution=1024x768 expert... (5 Replies)
Discussion started by: fishsponge
5 Replies

6. UNIX for Dummies Questions & Answers

302 server status code to 301/404 server status code

Hello, Sorry for my english. I have an arcade site. mydomain.com/game.html If database has the game name is good. mydomain.com/fd43f54.html if database has not the game name redirect to mydomain.com by 302 error code. if database has not the game name i want a 301/404 error code and no... (0 Replies)
Discussion started by: hoo
0 Replies

7. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

8. HP-UX

Status of hardware in HpUx

We would like to know a HP Utility or any Unix command that can give the exact status of PCI Gigabit Ethernet cable (lan cable) We had tried to execute lanscan ioscan -fnC lan The status appears to be the same when the cable is plugged & unplugged and also when the lan is disabled &... (5 Replies)
Discussion started by: siva3492
5 Replies

9. Programming

How to track table status delete/update/insert status in DB2 V10 z/os?

Dear Team I am using DB2 v10 z/os database . Need expert guidance to figure out best way to track table activities ( Ex Delete, Insert,Update ) Scenario We have a table which is critical and many developer/testing team access on daily basis . We had instance where some deleted... (1 Reply)
Discussion started by: Perlbaby
1 Replies

10. UNIX for Beginners Questions & Answers

How to see the status of all the ftp put & get files logs and curent ftp transfer status ?

How to see the status of all the ftp put & get files logs and curent ftp transfer status if any active ftp running in the background ? (2 Replies)
Discussion started by: i4ismail
2 Replies
lpq(1)							      General Commands Manual							    lpq(1)

Name
       lpq - spool queue examination program

Syntax
       lpq [ options ] [ job #...  ] [ user...	]

Description
       The  command  examines  the  spooling  area used by for printing files on the printer, and reports the status of jobs.  The command invoked
       without any arguments reports on any jobs currently in the default queue.

       When jobs are being printed, reports the queue as being ``active''.  For each job submitted, reports the user's name, current rank  in  the
       queue,  the names of files comprising the job, the job identifier and the total size in bytes.  The job identifier is a number which may be
       supplied to to remove a specific job.

       Job ordering is determined by the FIFO (First In, First Out) algorithm used to scan the spooling  directory.   When  the  queue	is  empty,
       reports that there are ``no entries''.

       File  names  may  be unavailable for some jobs, for example, if the command is used without specifying a file name, or if is used in a pipe
       line.  If file names are unavailable, the file name reported by is ``standard input''.

Arguments
       job #...    Causes to report on only the job number(s) specified.

       user...	   Causes to report on only the jobs for the specified user(s).

Options
       +n   Scan and display the spool queue until the queue is empty.	The queue is scanned every n seconds, if  no  argument	is  specified  the
	    queue is scanned every 30 seconds.

       -l   Display the status of each job on more than one line if necessary.	If this option is not used, the status of each job is displayed on
	    one line.

       -Pprinter
	    Report the status of the spool queue for the printer specified.  If this option is not used, the spool  queue  displayed  is  the  one
	    defined by the PRINTER environment variable.  If a queue is not defined by the PRINTER environment variable, the spool queue displayed
	    is for the printer named ``lp'' in the file.

Restrictions
       The displayed status of the spool queue may not always be the current status.  This is because jobs may be completed after  the	queue  has
       been examined, but before the status has been displayed.

Error Messages
       Two of the most common error messages from are:

       Warning: no daemon present (R)
       A daemon is not available for the specified printer.  Refer to the command to find out how to restart the printer daemon.

       unknown printer (R)
       The printer specified as an argument to the -P option, doesn't have an entry in the file.

Files
       For manipulating the screen for repeated display

       To determine printer characteristics

       The spooling directory, as determined from printcap

       Control files specifying jobs

       The lock file to obtain the currently active job

See Also
       lpr(1), lprm(1), lpc(8), lpd(8)

																	    lpq(1)
All times are GMT -4. The time now is 08:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy