03-29-2015
Thank you for responding.
In my previous post, I asked four questions. You answered one of them.
If you choose not to answer the other three questions I asked in my previous post, I can't determine how to guess correctly at what you should be done.
And, for the record, greping won't work for what you're asking for. The grep utility uses regular expressions to look for certain patterns. It is not suitable for performing alphanumeric range comparisons.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello All,
I'm generating timestamps (file creation timestamps) for all the files in a directory. I need to compare all the timestamps.
for example if i have 4 files and their timestamps are 20091125114556,
20091125114556,20091125114556,20091125114556 respectively.
I need to differentiate... (1 Reply)
Discussion started by: RSC1985
1 Replies
2. Shell Programming and Scripting
Hello All,
I'm generating timestamps (file creation timestamps) for all the files in a directory. I need to compare all the timestamps.
for example if i have 4 files and their timestamps are 20091125114556,
20091125114556,20091125114556,20091125114556 respectively.
I need to differentiate... (9 Replies)
Discussion started by: RSC1985
9 Replies
3. Red Hat
Hi, i am a general user of linux but we work mostly on windows next i am moving full time on linux.
here is my question:
We have product which consist or several subsystem each subsystem has one module to create logs file dump. and i am going to write that support dump tool.
we need to... (3 Replies)
Discussion started by: ajayyadavmca
3 Replies
4. Shell Programming and Scripting
Hi Friends,
I have 2 varaibles which contain
START=`date '+ %m/%d/%y %H:%M:%S'`
END=`date '+ %m/%d/%y %H:%M:%S'`
i want the time difference between the two variables in Seconds.
Plz help. (2 Replies)
Discussion started by: i150371485
2 Replies
5. Shell Programming and Scripting
I'm looking for a way to have the "date" command output the date in a specific format.
I'm not familiar with the different ways to use the date command at all. i read up on it, but i dont get how to manipulate it.
i know that i can get the date format to give me a format like:
2012-10-13... (6 Replies)
Discussion started by: SkySmart
6 Replies
6. Shell Programming and Scripting
Hi Gents.
Please can you help me to solve a problem.
I have a long list of files, which I need to change the time stamp.
-r--r--r-- 1 geo2 geovect 47096216 Feb 8 10:40 00000009.segd
-r--r--r-- 1 geo2 geovect 47096216 Feb 8 10:40 00000010.segd
-r--r--r-- 1 geo2 geovect 47096216 Feb ... (11 Replies)
Discussion started by: jiam912
11 Replies
7. Shell Programming and Scripting
Hi,
I have been working on the error Log script, where errors are pulled from server.
I need to pull the data of the error logs between two dates & time, for example :
22/12/2014 20:00:00
22/12/2014 22:00:00
Whatever error have came during this duration.
Now the question is the record... (6 Replies)
Discussion started by: amitgpta90
6 Replies
8. Windows & DOS: Issues & Discussions
I've installed cygwin_openssh on Windows 2012 R2 and it's working great. My issue is when a file is uploaded say from a different timezone, when it is uploaded, it doesnt pick up the sftp servers time.. Is there a way to fix that?
i.e. When someone in PST uploads a file to this server in EST,... (0 Replies)
Discussion started by: MikeAdkins
0 Replies
9. UNIX for Advanced & Expert Users
Hi,
I need help on syslog-ng on RHEL 7.2. It is working as expected.
As per configuration, it is supposed to create authlog, messages and xymessages daily in respective folder of date. But I can see only messages file and that is also not updating well.
# ps -ef | grep -i syslog
root 22954... (1 Reply)
Discussion started by: solaris_1977
1 Replies
LEARN ABOUT DEBIAN
crm_report
1.1.7(8) System Administration Utilities 1.1.7(8)
NAME
1.1.7 - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_report -f "YYYY-M-D H:M:S" [-t "YYYY-M-D H:M:S"] [additional options] [dest]
DESCRIPTION
crm_report - Create a tarball containing everything needed when reporting cluster problems
OPTIONS
-V increase verbosity
-v,--version
software version
--features
software features
-f, --from time
time to start from: "YYYY-M-D H:M:S" (do not forget the quotes)
-t, --to time
time to finish at (default: now)
-T, --cts test
CTS test or set of tests to extract
--cts-log
CTS master logfile
-n, --nodes nodes
node names for this cluster only needed if the cluster is not active on the current machine accepts both -n "a b" and -n a -n b
-l, --logfile file
log file to collect, normally this will be determined automatically
-p patt
additional regular expression to match variables to be removed (default: "passw.*")
-L patt
additional regular expression to match in log files for analysis (default: CRIT: ERROR:)
-M collect only the logs specified by -l
-S, --single-node
single node operation; don't try to start report collectors on other nodes
-c, --cluster type
force the cluster type (corosync,openais,heartbeat,logmaster)
-A, --openais
force the cluster type to be OpenAIS
-C, --corosync
force the cluster type to be CoroSync
-H, --heartbeat
force the cluster type to be Heartbeat
-u, --user user
ssh username for cluster nodes (default: root)
--dest a custom destination directory/file
dest a custom destination directory/file
EXAMPLES
crm_report -f "2011-12-14 13:05:00" unexplained-apache-failure crm_report -f 2011-12-14 -t 2011-12-15 something-that-took-multiple
days crm_report -f 13:05:00 -t 13:12:00 brief-outage
1.1.7 - ee0730e13d124c3d58f00016c3376a1de5323cff April 2012 1.1.7(8)