08-22-2005
This question has been answered a number of times already. Please search the forums - you will get quite a few answers.
This is a link to a script that I wrote. Will give you files older/newer than one minute.
10 More Discussions You Might Find Interesting
1. HP-UX
Dear Unix Gurus,
I am very very new to UNIX.
Apreciate your advice/guidence on the following.
I have a HPUX machine and i want to copy some files from this machines to a windows shared drive.
I am not sure how to go about it.
To my little knowledge i think it is not straight... (5 Replies)
Discussion started by: nicky88
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I'm very new and dumb in linux. What I do is: I use putty to connect to the linux server.
I use auth.komtels.ru as a connection line
root and oP04Koh0 as a password
port 6262, and SSH protocol
now I need to get the list of the files, how could I do it? (1 Reply)
Discussion started by: linuxbeginner
1 Replies
3. Shell Programming and Scripting
Hi All,
How to get previous 5 min time stamp in hh:mm format ?
suresh (1 Reply)
Discussion started by: suresh3566
1 Replies
4. UNIX for Dummies Questions & Answers
Hey All,
I want to get the access time of files in a directory.
I used ls -lu on a directory and picked a file that had the access time of Mar 1 and used cat to get the contents of the file. Then I used the ls -lu again and the access time changed on that file. Perfect !!
Now if I cat a... (10 Replies)
Discussion started by: vipulgupta0
10 Replies
5. Shell Programming and Scripting
I am redirecting my ping output to a file. The sample output is like this:
64 bytes from xx.xx.xx.167: icmp_seq=4490 ttl=116 3.75 ms 2011Jul12- 15 40 16
64 bytes from xx.xx.xx.167: icmp_seq=4491 ttl=116 5.29 ms 2011Jul12- 15 40 17
64 bytes from xx.xx.xx.167: icmp_seq=4492 ttl=116 4.88 ms... (6 Replies)
Discussion started by: zorrox
6 Replies
6. Shell Programming and Scripting
Hi Friends,
I want to the list the files in the folder which was access before 2 hours in Solaris.
Thanks in advance...... (3 Replies)
Discussion started by: natraj005
3 Replies
7. AIX
Dear All,
I'm working as a DBA and dont have much knowledge at OS level commands.we have requirement that we need find the files which has been last accessed >= apr 2010and also access date <= apr 2010 for a large set of files.Do know some commands likeistat, ls -u.But can anyone provide me the... (4 Replies)
Discussion started by: dbanrb
4 Replies
8. Red Hat
My query please:
What I saw how access times of a file and directories work.
1) For a file the access time is the time when I 1st access it after last modification of the file, i.e., if the file is modified at 10 AM and then I access it at 11 AM. After than whenever I access without... (7 Replies)
Discussion started by: ravisingh
7 Replies
9. Shell Programming and Scripting
I have unix epoch time 1441678454803, Can you please help me to print this time in below format ?
DAY,HOUR,MIN,SEC
Appreciate your help!!!
Thanks,
Prince (7 Replies)
Discussion started by: prince1987
7 Replies
10. Shell Programming and Scripting
You have a log file as attached in sample input with various operations and time taken by each of them. Write a script to find the min and max time taken for each operation. Sample output is attached.
Sample Input is given as below:
operation1,83621
operation2,72321
operation3,13288... (1 Reply)
Discussion started by: Chandan_Bose
1 Replies
LEARN ABOUT SUNOS
mlib_vectorminimummag_s32c
mlib_VectorMinimumMag_U8C(3MLIB) mediaLib Library Functions mlib_VectorMinimumMag_U8C(3MLIB)
NAME
mlib_VectorMinimumMag_U8C, mlib_VectorMinimumMag_S8C, mlib_VectorMinimumMag_S16C, mlib_VectorMinimumMag_S32C, mlib_VectorMinimumMag_F32C,
mlib_VectorMinimumMag_D64C - find the first element with the minimum magnitude in a vector
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VectorMinimumMag_U8C(mlib_u8 *min, const mlib_u8 *x, mlib_s32 n);
mlib_status mlib_VectorMinimumMag_S8C(mlib_s8 *min, const mlib_s8 *x, mlib_s32 n);
mlib_status mlib_VectorMinimumMag_S16C(mlib_s16 *min, const mlib_s16 *x, mlib_s32 n);
mlib_status mlib_VectorMinimumMag_S32C(mlib_s32 *min, const mlib_s32 *x, mlib_s32 n);
mlib_status mlib_VectorMinimumMag_F32C(mlib_f32 *min, const mlib_f32 *x, mlib_s32 n);
mlib_status mlib_VectorMinimumMag_D64C(mlib_d64 *min, const mlib_d64 *x, mlib_s32 n);
DESCRIPTION
Each of these functions finds the first element with the minimum magnitude in a complex vector, then puts the real and imaginary parts of
it into min[0] and min[1], respectively.
PARAMETERS
Each of the functions takes the following arguments:
min Pointer to the first element with the minimum magnitude.
x Pointer to the first element of the source vector.
n Number of elements in the source vector.
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_VectorMaximumMag_U8C(3MLIB), mlib_MatrixMaximumMag_U8C(3MLIB), mlib_MatrixMinimumMag_U8C(3MLIB), attributes(5)
SunOS 5.10 9 Nov 2004 mlib_VectorMinimumMag_U8C(3MLIB)