04-06-2016
It is not quite clear what you really want. Should it be "processes running that started more than ten days ago",
ps with a keyword or format specifier could help:
Quote:
KEYWORDS
The following is a complete list of the available keywords and their
meanings. Several of them have aliases (keywords which are synonyms).
.
.
.
etime - elapsed running time, format [days-][hours:]minutes:seconds.
10 More Discussions You Might Find Interesting
1. Programming
Hi All,
The scenario is like this:
There is a process say "A" which create a child process say "B" if some condition is true and process "A" terminates. "B" invokes some C program say "C" using 'execl' function. The job of program "C" is to keep polling the server until the server will be up.... (2 Replies)
Discussion started by: ranjkuma692
2 Replies
2. UNIX for Advanced & Expert Users
I want to write a unix shell script that will check if a process (say debu) is running in the server or not. If no , then send a mail to the corresponding person to start the process??? (2 Replies)
Discussion started by: debu
2 Replies
3. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
4. Shell Programming and Scripting
Ok, so here is what I am looking for..
Shell script that uses find to look for one days worth of data using the modified date and then copies only those files to a specified directory.
I figured I could use grep and the find command to do this. It seems to work just fine from what I can... (4 Replies)
Discussion started by: techjunky
4 Replies
5. Shell Programming and Scripting
Hi.. i have written a shell script and made this script to run on every day night 11: 55 pm using a cron job.
This cron job running for some days and is not running for some day. but i need this script to run every day night. Please help me.
Here is the cron tab entries,
55 23 * * *... (1 Reply)
Discussion started by: vidhyaS
1 Replies
6. Shell Programming and Scripting
Hi All,
I have a requirment, i need to get the list of all the process which are running from last two days on my unix server and also to put this list into an another file.
i am giving you a sample example :
$ ps -ef
UID PID PPID C STIME TTY TIME CMD (1 Reply)
Discussion started by: akshu.agni
1 Replies
7. Shell Programming and Scripting
Hi, i was looking for an answer for some trouble im having runing a script in the cron, thing is, that when i run it manually it works just fine. But when cron runs it, it just doenst work. I saw a reply on a similar subject, suggesting that the . .profile worked for you, but im kind of... (9 Replies)
Discussion started by: blacksteel1988
9 Replies
8. Shell Programming and Scripting
hi,
Am a newbie to unix and wasnt able to write script to my requirement.
I need a shell script, which should find a process by name and kill it. For eg: let the process name be "abc". I have different processes running by this name(abc), so should kill them all.
Condition would be: if... (7 Replies)
Discussion started by: fop4658
7 Replies
9. Shell Programming and Scripting
Hi All, I have been a guest visitor from a long time and this forum is wonderful. I finally am a member of this forum too, so i am here stuck with a shell script that i was trying to write
My requirement is that i should be able to create a shell script which will check if a process is running on... (3 Replies)
Discussion started by: Rex0226
3 Replies
10. Shell Programming and Scripting
Hello Group,
We want to create a script in order to filter process in the system with more than five days (STIME) and then kill them under Solaris 10.
How can we filter these kind of process ?
ps -efa
Thanks in advance for your help (4 Replies)
Discussion started by: csierra
4 Replies
LEARN ABOUT DEBIAN
maildirkw
MAILDIRKW(1) Double Precision, Inc. MAILDIRKW(1)
NAME
maildirkw - set maildir message keywords
SYNOPSIS
maildirkw [-c] [-l] [-a] [-r] {maildir} {message} [keyword...]
maildirkw [-c] {-L} {maildir}
DESCRIPTION
maildirkw modifies the Courier IMAP server compatible maildir message keywords. This command allows an easy way to set or clear custom IMAP
keywords associated with a particular message. maildir is the pathname to a maildir, or a maildir folder. The -L option lists all messages
in the maildir, and their associated keywords. message specified which message's keywords should be set. One or more keywords specifies a
list of keywords to be set for this message. The specified list of keywords replaces any keywords presently set for the message, unless the
-a or the -r option is specified.
The -a option adds the keyword to existing keywords that are set for message. The -r removes keywords from message, leaving any remaining
keywords set in place.
The -l should be used if the Courier IMAP server's configuration file has the IMAP_USELOCKS option set. -l enables a compatible locking
mechanism to update the message's keywords.
-c enables case-sensitive keywords. IMAP keywords are normally case insensitive. -c needs to be used if the SMAP1[1] protocol extension is
used, which uses case sensitive keywords.
SEE ALSO
maildiracl(1)[2], maildirmake(1)[3].
AUTHOR
Sam Varshavchik
Author
NOTES
1. SMAP1
http://www.courier-mta.org/cone/smap1.html
2. maildiracl(1)
[set $man.base.url.for.relative.links]/maildiracl.html
3. maildirmake(1)
[set $man.base.url.for.relative.links]/maildirmake.html
Courier Mail Server 08/31/2011 MAILDIRKW(1)