09-21-2015
Hi RudiC,
Thanks for the info. I had read about the public key authentication but I won't be able to do it as of now.
Is there some other way?
regards.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm using a bourne shell to kick off a 3rd Pty app. This app uses Orbix. When I exit from the telnet session which started the app or hit CTRL-C at the command line, the orbix process dies, yet all other process remain.
I've tried starting the app as a background process, but it still... (1 Reply)
Discussion started by: edgarm
1 Replies
2. Programming
I am trying to find out that how many number of threads are currently running or in any other state which is created by POSIX standard in a process.
First I have defined a variable called proc_var of type proc defined in sys/proc.h.Next I open up the dir /proc and per directory wise I do an ioctl... (7 Replies)
Discussion started by: S.P.Prasad
7 Replies
3. HP-UX
hi,all:
how to see the threads count of a process in hp unix?
thanks (2 Replies)
Discussion started by: bugbugbug
2 Replies
4. Shell Programming and Scripting
Hello Experts,
Can any one help me out to find the command to get "count" of number of processes running in system.
Basically i want to write one crone job to kill some process which making my system hanged. so have to do following things.
1) Find out the number of processes is running.... (4 Replies)
Discussion started by: MITESH KOTHARI
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I want to know a command/program to get thread count for a process id in unix box.
Please help me in this regard. (1 Reply)
Discussion started by: manaac
1 Replies
6. Shell Programming and Scripting
Hi,
I'm trying to spawn a telnet process and trying to do some actions in the remote host using expect script. I would like to know how to suppress all the output in order the user using the script should not be able to see any actions done on the remote host. I tried using the "log_user 0"... (8 Replies)
Discussion started by: arun_maffy
8 Replies
7. Shell Programming and Scripting
i have something like this
tablesName="abc def hij akn ... etc etc"
count=0
for i in $tablesName
do
echo -en "\b\b\b\b\b\b\b\b\b\b\b\b\bTableCount: $count"
count=`expr $count + 1`
done
the above is just a description wha i need is when the loop executes
the... (1 Reply)
Discussion started by: vivek d r
1 Replies
8. Shell Programming and Scripting
Hi,
I am trying to make a script which should execute if the same is not getting executed already.
To implement this check, I wrote a fragment of code as below
$ cat abc.sh
#!/bin/bash
check=0
#grepping "sh -x abc.sh" because if i check only for "abc.sh" and the file is open in say... (12 Replies)
Discussion started by: sam05121988
12 Replies
9. AIX
Hi,
We have scheduled few jobs/scripts in cron and it runs on daily basis at a specified time. We have a cron jobs has various parameters for main scripts like
/home/test/mainscript.ksh main_param
when the above jobs triggers, mainscript.ksh has below code and it refers
... (3 Replies)
Discussion started by: Selva_2507
3 Replies
10. Shell Programming and Scripting
Hi,
I have a file with contents
So what I have to do is
In short, break the file after every 6 lines and then truncate new line to tab for these 6 lines.
I am not able to execute the for loop in awk properly.
The idea is something like this:
less file| awk '{for .... {if ((nr>=1)... (7 Replies)
Discussion started by: rossi
7 Replies
LEARN ABOUT REDHAT
pqstat
PQSTAT(1) pqstat PQSTAT(1)
NAME
pqstat - List jobs in NetWare print queue
SYNOPSIS
pqstat [ -h ] [ -S server ] [ -U user name ] [ -P password
| -n ] [ -C ] queue name [ job count ]
DESCRIPTION
pqstat lists specified number of jobs from the specified NetWare print queue available to you on some server. If you are already connected
to some server, this one is used.
If pqstat does not print to a tty, the decorative header line is not printed, so that you can count the jobs in print queue by doing
pqstat -S server queue | wc -l
pqstat looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information.
Please note that the access permissions of .nwclient MUST be 600, for security reasons.
OPTIONS
queue name
queue name is used to specify queue. You can not use wildcards in the name.
job count
job count is used to specify how much entries will be shown. Default is to show all entries.
-S server
server is the name of the server you want to use.
-U user name
If the user name your NetWare administrator gave to you differs from your unix user-id, you should use -U to tell the server about your
NetWare user name.
-P password
You may want to give the password required by the server on the command line. You should be careful about using passwords in scripts.
-n
-n should be given to mount shares which do not require a password to log in.
If neither -n nor -P are given, pqstat prompts for a password.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
SEE ALSO
nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8), pqlist(1), pqrm(1)
CREDITS
pqstat was written by David Woodhouse (dave@imladris.demon.co.uk)
pqstat 03/03/1998 PQSTAT(1)