05-15-2013
User process information and idle times
My company uses a proprietary GUI to its business system (Strategix) which runs on Windows clients, whereas the back-end runs on a SCO OpenServer 5.0.6a server.
We're moving to a new business system next year and the business is growing and we're running out of licences on Strategix and making our users frustrated when they can't get in. However, with a new business system looming, I'm reluctant to spend £2,000 per extra licence.
I wanted to use the "idleout" facility of SCO to kick out users who were idling along, but Strategix uses a proprietary software interface that doesn't allow me to use the traditional UNIX facilities like "idleout" or "who" or "finger -i". Instead, it comes with it's own binary executable called "adwho", but all that does is list the user and the module in Strategix they are using.
I can use "ps -ef" or "ps -u" to get some process information, but nothing to help with clearly identifying who has been idle for x minutes.
Has anyone got any brilliant ideas?
Cheers for any help.
Mark
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Matez,
I have a list of process id's in a text file. I want to know how to find the idle time of a process which are more than 300secs and kill them accordingly.
Could you please help me to get these details. I want to write a shell script with this.
Thanks..Krish :) (36 Replies)
Discussion started by: Krrishv
36 Replies
2. UNIX for Dummies Questions & Answers
We are running AIX 5.3 and for ICICS Printing we have process called cicstermp runing whcih attaches the print to print queue
But is process is triggered when ever a print is to be given
Can we find the processes which are idle
I mean every time a print is given it creats a new cicstermp... (1 Reply)
Discussion started by: pbsrinivas
1 Replies
3. Shell Programming and Scripting
I need a script to kill those process id whose idle time is more than 30min
plz help me (3 Replies)
Discussion started by: salil2012
3 Replies
4. Shell Programming and Scripting
Hi there,
I wrote a script that scans a folder for new files.
I don't want to run it at specific times but only when the computer is NOT busy.
I tried to use nice but it doesn't really work. I mean, even if my process has less priority, it still slows down the other processes. I did a test... (3 Replies)
Discussion started by: chebarbudo
3 Replies
5. AIX
Dear Friends ,
I am using DB2 database in AIX 5.3 server . In my server some IDLE process are generated after several times which I need to kill it manually each and every time .
The process I query like following :
root@bagpuss $ ps auxw|sort -r +3|head -10
USER PID %CPU %MEM ... (3 Replies)
Discussion started by: shipon_97
3 Replies
6. Shell Programming and Scripting
I am using Ubuntu 9.04. I want to write a shell script to get the information about cpu idle from top command at the real time when i call it, compare cpu idle with 20 (20%), if cpu idle > 20 exit 1, vice versa exit 0. Anybody can help me to resolve it ?
Thanks alot. (7 Replies)
Discussion started by: huyquocnguyen
7 Replies
7. Shell Programming and Scripting
Folks,
I have written one script for following condition by referring some of online post in this forum. Please correct it if I'm missing something in it. (OS: AIX 5.3)
List the idle user. (I used whoidle command to list first 15 user and get username, idle time, pid and login time).... (4 Replies)
Discussion started by: sumit30
4 Replies
8. HP-UX
Hello Anyone:
I have run into an issue that I have never seen or heard of.
Recently on a specific server I have encountered a random issue that I've not been able to repliate on demand... When I view the processes status of a certain process, the information returned to the screen has a... (2 Replies)
Discussion started by: DEN1022
2 Replies
9. Shell Programming and Scripting
Hi,
I need a script that can automatically kill all processes named "webrepn" and "webrebw" if idle for more than 30 minutes.
Then I will have a Cron Job to run the script every night or 2-3 times a day depends on how this script helps.
Right now, I run "ps -ef | grep webrebn" and "kill -9... (7 Replies)
Discussion started by: MaggieL
7 Replies
10. UNIX for Dummies Questions & Answers
I noticed when having some trouble with code I was testing that the CPU was becoming exhausted and I would have to reboot. After rebooting a couple times I decided to check for other problems before trying my code again. That's when I noticed that the CPU with the idle process was through the roof:... (5 Replies)
Discussion started by: Azrael
5 Replies
LEARN ABOUT DEBIAN
glabels-3
glabels(1) General Commands Manual glabels(1)
NAME
glabels - Label and business card creation program for GNOME
SYNOPSIS
glabels-3 [OPTIONS] [label-filename...]
glabels-3-batch [OPTIONS] [label-filename...]
DESCRIPTION
glabels-3 is a lightweight program for creating labels and business cards for the GNOME desktop environment. It is designed to work with
various laser/ink-jet peel-off label and business card sheets that you'll find at most office supply stores. glabels-3 is pre-configured
with templates for many of these products. It also provides an interactive template designer for creating new templates according to user
specifications.
For full documentation see the gLabels online help.
glabels-3-batch is a command line utility to print labels previously prepared with glabels-3.
OPTIONS
-?, --help
Display a summary of available command-line options.
--usage
Display a short usage summary.
-v, --version
Print program version information.
Options specific to glabels-batch
-o filename, --output=filename
Set output filename to filename. (default="output.ps")
-i filename, --input=filename
Set name of file with data to be merged to filename. Typically this is a .csv file containing values to be printed on the labels.
-s n, --sheets=n
Set number of sheets to n. (default=1)
-c n, --copies=n
Set number of copies to n. (default=1)
-f n, --first=n
Set label on first sheet to start printing from to n. (default=1)
-l, --outline
Print outlines around labels. This is useful for testing printer alignment or printing proof sheets.
-C, --cropmarks
Print crop marks. Helpful for cutting up sheets.
-r, --reverse
Print mirror image of labels. This is useful for clear labels intended to be seen from the back through glass.
FILES
The $HOME/.glabels directory contains all user-defined templates.
SEE ALSO
The gLabels homepage at <http://glabels.org/>.
AUTHOR
Jim Evins <evins@snaught.com>
Jun 28, 2004 glabels(1)