08-26-2002
Getting the seconds via standard unix commands is very hard. The only reasonable way to display the seconds is to write a program in c or perl that invokes the stat() system call.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!!
I wanna display file names which are created before/after a particular date.
I wud be glad if anybody can help me out in that.
Thanx
Dhruv (1 Reply)
Discussion started by: dhruv_saksena
1 Replies
2. UNIX for Dummies Questions & Answers
Dear Expert,
Is there a command to do that in Unix?
In such a way that we don't need to actually "write" or
modified the content.
-- monkfan (4 Replies)
Discussion started by: monkfan
4 Replies
3. Shell Programming and Scripting
Hi All,
I need to get file creation date.
I have to access one file who's name is like...
abc.log092308
and the date changes as per current date. And i am accessing this file next day. meance in above case i will access above file on 09-24-2008
Also one problem is that this file... (2 Replies)
Discussion started by: Jeevan Salunke
2 Replies
4. Shell Programming and Scripting
Is there a command (like ls -l) to get the file time stamp including seconds? The ls -l gives only the HH:MM, No SS
I don't have a C compiler to call stat()
I don't a command like stat too.
Please help. (8 Replies)
Discussion started by: firdousamir
8 Replies
5. Shell Programming and Scripting
Hi,
I just need to know way of getting date of file when it was created.
eg i have a file abc created on 23 aug. Now i need to know date of file i.e. 23 aug. How can i get that data.
Thanks
Sarbjit (7 Replies)
Discussion started by: sarbjit
7 Replies
6. Shell Programming and Scripting
Hi All,
Cany any one help me in solving this..
Problem statement: I have a requirement to find the time from which there are no files created in a given directory. For this I am assuming that I need to get the file creation time in seconds, then the current time in seconds using `date +%s`.... (7 Replies)
Discussion started by: chary
7 Replies
7. Shell Programming and Scripting
Hi,
Can anyone tell me a process to find the creation date of a file in a directory.
If suppose I have a file in a directory created in 2009
-rw-r--r-- 1 xyz guest 2480 Jul 16 2009 sample.txt
The command should return the the file creation date as 16/07/2009
thanks, (2 Replies)
Discussion started by: swathich
2 Replies
8. OS X (Apple)
Is it possible to find all files based on the date of creation? And if so, how? I've been looking at the find command but it seems that only modification times are used as an option. (1 Reply)
Discussion started by: Straitsfan
1 Replies
9. UNIX for Dummies Questions & Answers
Dear Masters,
I am using solaris 10. There is a requirement if a file created on Feb 1 or Feb 2, the creation date will be changed to Jan 31. Is there any command on Solaris to do that?
Thanks,
Kris (1 Reply)
Discussion started by: kris.adrianto
1 Replies
10. Shell Programming and Scripting
Hi Team,
How to get the file creation date and time in SFTP server
we can able to type ls -ltr command only SFTP server.
Generally we type ls --full-time test.txt we will get the date and time , same way how to do in SFTP server after connected.
Thanks (1 Reply)
Discussion started by: bmk123
1 Replies
LEARN ABOUT CENTOS
fence_tool
FENCE_TOOL(8) cluster FENCE_TOOL(8)
NAME
fence_tool - a utility for the fenced daemon
SYNOPSIS
fence_tool [COMMAND] [OPTIONS]
DESCRIPTION
This utility controls and queries the fenced(8) daemon with the following commands:
join join the fence domain.
leave leave the fence domain.
dump print the fenced internal debug buffer ont stdout.
ls display internal fenced state.
The leave command will not be sent to fenced if fence_tool detects that any instances of gfs or dlm are in use.
OPTIONS
-n Show all node information in ls.
-t seconds
Retry cman connection for this many seconds. 0 none, -1 indefinite. Default 0.
-q seconds
Delay join up to this many seconds for the cluster to have quorum. 0 none, -1 indefinite. Default 0.
-m seconds
Delay join up to this many seconds for all nodes in cluster.conf to be cluster members. 0 none, -1 indefinite. Default 0.
-w seconds
Wait up to this many seconds for the result of join or leave. 0 none, -1 indefinite. Default 0.
-h Print a help message describing available options, then exit.
-V Print program version information, then exit.
SEE ALSO
fenced(8)
cluster 2009-12-21 FENCE_TOOL(8)