Search Results

Search: Posts Made By: sagii
Forum: Infrastructure Monitoring 09-30-2009
3,140
Posted By sagii
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....
4
8,094
Posted By sagii
here is the output with space lpstat -p...
here is the output with space
lpstat -p pfs39p07
usage: lpstat [-drstW][-aDestination,...][-cClassname,...]
...
4,066
Posted By sagii
try this mapping=$1 if [ "$mapping" = pass ]...
try this
mapping=$1
if [ "$mapping" = pass ]
then
echo "program passed"

fi
4
8,094
Posted By sagii
thank jim for giving me idea.it works
thank jim for giving me idea.it works
4
8,094
Posted By sagii
lpstat
Hi,
here is lpstat command with queue name. queue name is not valid but lpstat takes my local queue and shows the following results.is there any way that i can stop it after waring message and dont...
27,239
Posted By sagii
i need to read first line and then get value of...
i need to read first line and then get value of first column and 3rd column.please let me know how i can?.
27,239
Posted By sagii
read first line of file
Hi,
i have two files for two different queue status ready and down

file 1
abxxxt18 abxxx READY
file 2
abxxxt18 abxxxt18 DOWN
...
3,762
Posted By sagii
thanks but it is not working.i have output in one...
thanks but it is not working.i have output in one file please let me know how to read first line first column and third column.thanks
3,762
Posted By sagii
Reading variable from file variable values
Hi,
Here is the output of lpstat. I would like to read value of Queue which is(abxxxxb1)and status that is DOWN in first line. i dont care what is in second line. any one can help me.thanks
Queue ...
2,668
Posted By sagii
thanks for reply. actually i need to consider...
thanks for reply. actually i need to consider READY state too not only DOWN or QUEUE. in case printer is in ready state but number of jobs are higher than threshold then i have send a mail thats why...
2,668
Posted By sagii
no printer status is ready when it is out of...
no printer status is ready when it is out of paper.so jobs are there but i cant see those with lpq or lpstat.is there any other way to see those jobs.thanks
2,668
Posted By sagii
print q jobs
Hi,
I need to get queue name ,status and numbero jobs waiting in queue.I was using lpstat and i got the queue name ,status and number of jobs waiting but the problem with lpstat is that when printer...
11,623
Posted By sagii
no i cant see any job waiting but when i insert...
no i cant see any job waiting but when i insert paper tray in it starts printing.with lpstat it show printer is ready but dont show how many jobs a still waiting in queue.any one have idea how i can...
11,623
Posted By sagii
print queue jobs
Hi,
i m having problem to get number of jobs waiting using lpstat.my printer is out of paper and 10jobs are in queue but i run lpstat -pqname it didnt show any thing.any one have idea whats wrong...
3,782
Posted By sagii
How to Monitor printer buffer using unix command
Hi,
I have 13jobs waiting in a printer queue.I am try to get the status and number of jobs using lpstat but i cant see any job is waiting in queue.i think those jobs are in printer buffer.is there...
1,814
Posted By sagii
lpstat throughs warning
Hi Guys,
I am geting this message ".status: (WARNING): 0781-102 Invalid printer name: xerox".i m reading printer name from a text file.i try to print the value reading from file is correct xerox. if...
3,223
Posted By sagii
how to get variable value
Hi guys,
the awk command is working fine.can you please let me know how i can get the value of sum.I need to pass this sum value to java program as parameter.
thanks,
Sagii
3,223
Posted By sagii
Thanks guys both reply works fine.once again...
Thanks guys both reply works fine.once again thanks a lot for your help.
3,223
Posted By sagii
here is csv file xerox @DDCM READY 2 ...
here is csv file
xerox @DDCM READY 2
xerox xerox READY 3
i need to get column 1,3,4 values. but column 4 is differnt so need to get sum.
i would like to get value of column...
3,223
Posted By sagii
if condition doesn't work
i want to get the value for column 4rth when i =4. please guide what i am doing wrong. thanks

var=`cat file.csv`
for i in $var; do {
if [ "$i" -eq 4 ]; then
var4=$var4+$i

fi
echo...
4,710
Posted By sagii
hi, here is the operation system and command...
hi,
here is the operation system and command with output
AIX version 5
lpstat -pedxxx319,edxxx318 -t -l


Queue Dev Status Job Files PP % Blks Cp Rnk User ...
4,710
Posted By sagii
print queue jobs
Hi,
I have one queue that have status QUEUE and 10 jobs are waiting.Can any one guide me how i can get total number of jobs on this queue.i can see 10 jobs but i need to get count 10 for this...
Showing results 1 to 22 of 22

 
All times are GMT -4. The time now is 05:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy