Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

uustat -p on linux not showing any processes

Posted on 2011-03-07
5
Medium Priority
?
686 Views
Last Modified: 2012-06-27
Trying to port our production environment from SCO to linux. One key functions of our production server is our modem bank for accessing servers via dialup. I have uucp setup and I am able to make outbound calls without an issue, but need to be able to modify our script to detect if someone is already dialed into a particular server. On SCO we used uustat -p to check the modem number dialed, and the username to display on the screen if another user tried dialing the same number.

Without completely rewriting our script and the uucp locking system, any ideas how to get uustat working?
0
Comment
Question by:redhatmj
  • 3
  • 2
5 Comments
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 2000 total points
ID: 35058121
Did you try

uustat -q

or

uustat -s systemname

or

uustat -m

?
0
 

Author Comment

by:redhatmj
ID: 35058191
uustat -q shows nothing (same as uustat -p)
uustat -m returns the following error:
uustat: opendir (.Status): No such file or directory
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35058521
Seems that uucp is not correctly installed.

The directories under /var/spool/uucp, like .Status must exist!

wmp
0
 

Accepted Solution

by:
redhatmj earned 0 total points
ID: 35058540
Had to add the uucp lockdir to /etc/uucp/config and it's working now.
0
 

Author Closing Comment

by:redhatmj
ID: 35115248
Had to add the uucp lockdir to /etc/uucp/config and it's working now
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A clone is a duplicate copy. Sheep have been cloned and maybe someday even people will be cloned, but disk cloning (performed by the hard drive cloning software) is a vital tool used to manage and protect data. Let’s look at what hard drive cloning …
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 10 hours left to enroll

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question