04-05-2005
Processes
Can someone tell how to find out how long a process has been running? I want to find something that is usually there that the paging system can check on.
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is it possible to have a main script (i will call it main.ksh) that executes say, 4 other scripts (sub_prog_1.ksh, sub_prog_2.ksh etc..) from within this main.ksh (simultaneously/in parallel), have them run in the background and communicate back to main.ksh when complete?
My guess is to use... (1 Reply)
Discussion started by: google
1 Replies
2. UNIX for Dummies Questions & Answers
What command string will locate ONLY the PID of a process and ouput only the number of PID of the process? (1 Reply)
Discussion started by: mma_buc_98
1 Replies
3. Shell Programming and Scripting
I want to know how to work the Co-Processes in kornshell scripts. So, I very need some script about Co-Processes!
thanks ...:) (3 Replies)
Discussion started by: javalee
3 Replies
4. Filesystems, Disks and Memory
write a program create two processes to run a for loop which adds numbers 1 to n , say one process adds odd numbers and other adds even numbers (1 Reply)
Discussion started by: jayaram_miryabb
1 Replies
5. Shell Programming and Scripting
I have a file like this.
No. State Query Times User Processed Syslog
1 ready idle 973s 0 /Application/ugsvols/bldata01/logs/imanscript1562.syslog
2 ready idle 803s 83997 13 /Application/ugsvols/bldata01/logs/imanscript1542.syslog
3 ready idle 2954s 106641... (17 Replies)
Discussion started by: Krrishv
17 Replies
6. UNIX for Advanced & Expert Users
Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go?
Thank you
Richard (4 Replies)
Discussion started by: ukndoit
4 Replies
7. Solaris
Hi
Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages.
Any free tools or scripts to do this?
Many thanks. (2 Replies)
Discussion started by: wilsonee
2 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I needed a little help. It's OS thing.
Suppose I have 2 machine connect over a network, I will call my machines as M1and M2.
If I copy a files from M1 to M2. What tasks are these two machine performing for copy to work.
My assumption is that M1 is performing read action and... (1 Reply)
Discussion started by: vishwesh
1 Replies
9. Shell Programming and Scripting
I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time.
Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies
10. UNIX for Dummies Questions & Answers
may i know a command to find processes not attached to a terminal?? (1 Reply)
Discussion started by: riya9
1 Replies
LEARN ABOUT OSX
dynamic_pager
dynamic_pager(8) BSD System Manager's Manual dynamic_pager(8)
NAME
dynamic_pager -- external storage manager for dynamic pager
SYNOPSIS
dynamic_pager [-F filename] [-S filesize] [-H high-water-trigger] [-L low-water-trigger] [-P priority]
DESCRIPTION
The dynamic_pager daemon manages a pool of external swap files which the kernel uses to support demand paging. This pool is expanded with
new swap files as load on the system increases. It is contracted when the swapping resources are no longer needed. The dynamic_pager daemon
also provides a notification service for those applications which wish to receive notices when the external paging pool expands or contracts.
OPTIONS
-F The base name of the filename to use for the external paging files. By default this is /private/var/vm/swapfile.
-H If there are less than high-water-trigger bytes free in the external paging files, the kernel will signal dynamic_pager to add a new
external paging file.
-L If there are more than low-water-trigger bytes free in the external paging files, the kernel will coalese in-use pages and signal
dynamic_pager to discard an external paging file. Low-water-trigger must be greater than high-water-trigger + filesize.
-P This option is currently unimplemented.
-S The fixed filesize [in bytes] to use for the paging files. By default dynamic_pager uses variable sized paging files, using larger
sized files as paging demands increase. The -S, -H and -L options disable that default and cause dynamic_pager to use a series of
fixed sized external paging files.
FILES
/private/var/vm/swapfile* Default external paging files.
/Library/Preferences/com.apple.virtualMemory.plist Configuration file.
XML PROPERTY LIST KEYS
The following keys can be specified in the configuration file. Please see plist(5) for more information about property list files.
UseEncryptedSwap <boolean>
This optional key activates encrypted swap (aka Secure VM), so that all data is encrypted before being written to a swap file. The default
is on for portable computers and off for other computers.
Mac OS X July 8, 2003 Mac OS X