I can write a script to use ps and interigate the output, but is there a command that works similar to the find command for files where I can request a list of all the running processes over 1 day old ?
thanks! (8 Replies)
:cool:
I need to execute a shell script to do the following:
cat a file
run two back ground processes using the first two values from the file
wait till those background processes finish
run two more background processes using the next two values from the file
wait till those background... (1 Reply)
KSH:
Please lt me know how to find the age of a file in minutes(Based on last modified time).
ie, if the file was modified 15 Minutes ago, the output should be 15 (1 Reply)
Did not use 'wait' yet.
How I understand by now the wait works only for child processes, started background.
Is there any other way to watch completion of any, not related process (at least, a process, owned by the same user?)
I need to start a background process, witch will be waiting... (2 Replies)
I am trying to figure out how to look at only the following directory...
/lcl/prd/data/dc003p/dump
And search it for any files that have a .arc extension and are older then 24 hours.
I have never done anything like this and have no idea where to start. I want to make sure it does not... (10 Replies)
Hi all,
I'm using SunOS.
need to find age of the file in terms of seconds. The file
name with its path will be given to the script as input.
Any kinda help will be appreciated.
Thanks in advance (7 Replies)
Hi
I can not say that i am new to perl but today i learned something new, i wanted to know age (last time file got modified) of file so i initially thought of using find -mtime command but when i googled it, i found perl solution for the same
my $age = -M $ARGV ;
print "$ARGV age is... (1 Reply)
hi,
i am working on a shell script where i have 2 files & i need to check age of those files. one file should be of the same day and other shoudn't be more then 20 days old.
how could i acheive this? please help!!!! (10 Replies)
Hi All..
Is there any easy way to find out how many days older is file?
for ex. fileA 20 days
fileB 10 days
I am currently on AIX, and there is no STAT command available in this environment. What are my options?
Thanks
Abhijeet R (1 Reply)
Discussion started by: freakabhi
1 Replies
LEARN ABOUT SUNOS
mlib_matrixminimum_f32
mlib_MatrixMinimum_U8(3MLIB) mediaLib Library Functions mlib_MatrixMinimum_U8(3MLIB)NAME
mlib_MatrixMinimum_U8, mlib_MatrixMinimum_S8, mlib_MatrixMinimum_S16, mlib_MatrixMinimum_S32, mlib_MatrixMinimum_F32, mlib_MatrixMini-
mum_D64 - find the minimum value in a matrix
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_MatrixMinimum_U8(mlib_u8 *min, const mlib_u8 *x, mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_S8(mlib_s8 *min, const mlib_s8 *x, mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_S16(mlib_s16 *min, const mlib_s16 *x, mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_S32(mlib_s32 *min, const mlib_s32 *x, mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_F32(mlib_f32 *min, const mlib_f32 *x, mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_D64(mlib_d64 *min, const mlib_d64 *x, mlib_s32 m, mlib_s32 n);
DESCRIPTION
Each of these functions finds the minimum value of all elements in a matrix.
It uses the following equation:
min[0] = MIN{ x[i] i = 0, 1, ..., (m*n - 1) }
PARAMETERS
Each of the functions takes the following arguments:
min Pointer to the minimum value.
x Pointer to the first element of the source matrix.
m Number of rows in the source matrix.
n Number of columns in the source matrix.
RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO mlib_MatrixMaximum_U8(3MLIB), mlib_VectorMaximum_U8(3MLIB), mlib_VectorMinimum_U8(3MLIB), attributes(5)SunOS 5.10 10 Nov 2004 mlib_MatrixMinimum_U8(3MLIB)