08-09-2012
this is the format of the ps command I currently have,
Quote:
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid
pri opri pcpu pmem vsz rss osz nice class time etime stime zone zoneid
f s c lwp nlwp psr tty addr wchan fname comm args projid project pset
Yes thats a good idea Ill incorportae that in the script somewhere
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My program:
__________________________________
#!/bin/ksh
DAY=`date +%y%m%d`
H=`date +%H`
M=`date +%M`
day=`date +%m/%d/%y`
let h=$H-1
echo DAY $DAY
echo H $H
echo M $M
echo day $day
echo h $h
_____________________________________
My result: (3 Replies)
Discussion started by: bobo
3 Replies
2. UNIX for Advanced & Expert Users
i have an application that i can call from command line
i can pass arguments to the command specifying the server name, user name and password.
when i give my login information such as username and password in the argument, the command gets executd. as an fyi, i can login using ssh to... (2 Replies)
Discussion started by: bryan
2 Replies
3. UNIX for Advanced & Expert Users
There's a user that opens various login sessions with a particular SOLARIS server at the same time - this locks the server thats tried to get logged into..
Kindly help on how to know the max limit of sessions a particular user can open with a particular server at the same time. AND, how to... (2 Replies)
Discussion started by: its.simron
2 Replies
4. Solaris
This is a fairly complex issue. I do not have a lot of knowledge on X11. But here are the things.
I am running a program called Synergy off a Solaris server. The server sits in a remote network and can be accessed via NAT. Using Putty, I will enable X11 forwarding and launch Synergy via Putty.... (0 Replies)
Discussion started by: Leion
0 Replies
5. Shell Programming and Scripting
get email notification from from system when a process from XXXX user takes longer than 15 min run.Let me know the time estimation for the same.
hi ,any one please tell me , how to write a script to get email notification from system when a process from as mentioned above a xxxx user takes... (1 Reply)
Discussion started by: kirankrishna3
1 Replies
6. UNIX for Advanced & Expert Users
Hello,
I am using a Linux server (Ubuntu 11.04 Server) to host some files and a code repository. Because we are using ssh + svn to connect to the repository, our users have normal ssh access.
What I would like to do is log their user sessions so that I have an audit trail in the event that... (2 Replies)
Discussion started by: chrisb1609
2 Replies
7. Shell Programming and Scripting
I am new to shell scripting, and have not done much programming in several years. So I am very rusty at this at best. I know my way around the linux command line, but actually scripting is something I have not done too much of.
I have been tasked to come up with a script that will pull all... (5 Replies)
Discussion started by: shuiend
5 Replies
8. Shell Programming and Scripting
Hi friends, I want to convert 24 hour timing to 12 hour please help me...
my data file looks like this..
13-Nov-2011 13:27:36 15.32044 72.68502
13-Nov-2011 12:08:31 15.31291 72.69807
16-Nov-2011 01:16:54 15.30844 72.74028
15-Nov-2011 20:09:25 15.35096 ... (13 Replies)
Discussion started by: nex_asp
13 Replies
9. UNIX for Beginners Questions & Answers
Hi - If iam logged on to server A, on 4 putty windows using SSH ... and out of these 4 logged-in sessions, in one of the sessions if i did SSH from server A to server B;
i would now have 4 putty windows sessions ... of which 3 are actively logged on to Server A while 1 putty window is actively... (2 Replies)
Discussion started by: i4ismail
2 Replies
10. UNIX for Beginners Questions & Answers
I work at a company that uses a program written in AWK to track various data and prepare reports. Worked with this program for three years plus (the author is no longer with us) and the YTD Production report will not return a report with a date after 123119. This is a problem. Below is the (I... (3 Replies)
Discussion started by: paulgdavitt
3 Replies
DCOP(1) DCOP(1)
NAME
dcop - Console DCOP client
SYNOPSIS
dcop [--pipe] [--user user] [--all-users] [--session session] [--all-sessions] [--list-sessions] [--no-user-time] [application [object
[function [arguments]]]]
DESCRIPTION
Console DCOP client
OPTIONS
--pipe Call DCOP for each line read from stdin.
This is roughly equivalent to calling while read line ; do dcop $line ; done but because no new dcop instance has to be started for
each line this is generally much faster, especially for the slower GNU dynamic linkers.
--user user
Connect to the given user's DCOP server. This option will ignore the values of the environment vars $DCOPSERVER and $ICEAUTHORITY,
even if they are set.
If the user has more than one open session, you must also use one of the --list-sessions, --session or --all-sessions command-line
options.
--all-users
Send the same DCOP call to all users with a running DCOP server. Only failed calls to existing DCOP servers will generate an error
message. If no DCOP server is available at all, no error will be generated.
--session session
Send to the given KDE session. This option can only be used in combination with the --user option.
--all-sessions
Send to all sessions found. Only works with the --user and --all-users options.
--list-sessions
List all active KDE sessions for a user or all users.
--no-user-time
Don't update the user activity timestamp in the called application (for use in scripts running in the background).
ENVIRONMENT
DCOPSERVER
ICEAUTHORITY
SEE ALSO
dcopclient(1) dcopref(1) dcopfind(1) kdcop(1)
Inside KDE, you can enter help:/kdcop in Konqueror to see the User Manual for kdcop graphical dcop tool.
March 7, 2003 DCOP(1)