PACEMAKER(8) System Administration Utilities PACEMAKER(8)NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
iso8601 command [output modifier]
DESCRIPTION
iso8601 - Display and parse ISO8601 dates and times
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
Commands:
-n, --now
Display the current date/time
-d, --date=value
Parse an ISO8601 date/time. Eg. '2005-01-20 00:30:00 +01:00' or '2005-040'
-p, --period=value
Parse an ISO8601 date/time with interval/period (wth start time). Eg. '2005-040/2005-043'
-D, --duration=value
Parse an ISO8601 date/time with duration (wth start time). Eg. '2005-040/P1M'
Output Modifiers:
-L, --local
Show result as a 'local' date/time
-O, --ordinal
Show result as an 'ordinal' date/time
-W, --week
Show result as an 'calendar week' date/time
For more information on the ISO8601 standard, see: http://en.wikipedia.org/wiki/ISO_8601
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.7 April 2012 PACEMAKER(8)
Check Out this Related Man Page
PACEMAKER(8) System Administration Utilities PACEMAKER(8)NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_node command [options]
DESCRIPTION
crm_node - Tool for displaying low-level node information
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
-Q, --quiet
Essential output only
Stack:
-A, --openais
Only try connecting to an OpenAIS-based cluster
-H, --heartbeat
Only try connecting to a Heartbeat-based cluster
Commands:
-n, --name
Display the name used by the cluster for this node
-N, --name-for-id=value
Display the name used by the cluster for the node with the specified id
-e, --epoch
Display the epoch during which this node joined the cluster
-q, --quorum
Display a 1 if our partition has quorum, 0 if not
-l, --list
Display all known members (past and present) of this cluster (Not available for heartbeat clusters)
-p, --partition
Display the members of this partition
-i, --cluster-id
Display this node's cluster id
-R, --remove=value
(Advanced) Remove the (stopped) node with the specified name from Pacemaker's configuration and caches
In the case of Heartbeat, CMAN and Corosync 2.0, requires that the node has already been removed from the underlying cluster
Additional Options:
-f, --force
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.10-29.el7 June 2014 PACEMAKER(8)
Hi,
I want to concatenate the filename with the current date using the get command in ftp.
for ex:
<filename><date>
emp101_20080526
Can you please let me know the command for this.
thanks,
Aswarth. (9 Replies)
# date;ps -ef|grep confused.
Tue Dec 13 11:11:22 EST 2005
root 12847 12733 0 11:21 pts/83 00:00:00 grep confused.
I am really confused on why my ps and my date command are returning different values for the time. Anyone know how to resolve this?
Running FC2, if it helps. (14 Replies)
hi All,
Searched forum but couldn't find a solution to this problem:
How can I append a file with date in the ninth line?
ie I want to insert a line with the current date and time in the ninth line.
I tried this:
date=`date`
awk 'NR==9 {printf "'$date' \n"} {print $0}' abc.log
below... (10 Replies)
I have following script..
which print date on screen continuously..
i start it on command line..
once its started it will go on...
IS THERE ANY WAY TO SEND TO TO BACKGROUND ONCE ITS STARTED???
thanks,
vidya... (10 Replies)
Hi
I want to insert a space between the result of the following command.
day=$(date %d)
i get the result as ------- Sep 2
i want to get the result as Sep 2(two space between Sep and 2)
how can i get this...
is this possible wid awk??:confused: (12 Replies)
Hi all,
Everyday I used to parse the Catalina.out log file on my Redhat system for errors for a particular date. Could anybody be able to help me to create a command which can grep the contents of Catalina.out starting from particular date.
Please do not suggest command which greps only the... (12 Replies)
I have a file ("modtest") in which I want to update the last date/time block in the lines beginning with a period. Here is a sample:
.ROMULT 10150908EDT 10270908EDT 10010908EDT RANGE
RAWV2 1.00
.ROMULT 10150908EDT 10270908EDT 10010908EDT FGROUP
CHOWANRV 1.00
.RRIMULT 10150908EDT... (10 Replies)
Hi,
I have start date and end date in the following format. I need to check the current date is greater than the start date and less than the end date. if i use the command date --date "Tue 6:00 AM", it takes next Tues day not the current week's Tues day. Is there a way to get the current Tues... (9 Replies)
hi
#!usr/bin/perl -w
local ($date) = `/sbin/date "+%D %X" ` ;
print $date
when i run this in ksh shell it is giving the below error
sh: /sbin/date: not found
but same code is working and displaying date and time in sh shell.
what could be the reason.
pls help (10 Replies)
Folks ,
Trying to create a script / command that kills an application process , but on the ones that are from the current date backwards. So far I have everything working minus the "date" part. Can you help me ?
current command :
kill -9 `ps -aef | grep app_name | grep -v grep | awk... (13 Replies)
Hi,
I tried to find the solution on the forum without success.
datecalc from Perderabo doesn't solve my problem.
I would like to know how to do the same thing that date +%U but for a specific date.
For example:
2011 08 27
=> 39
Thinks a lot (8 Replies)
Hi All,
I have a question here in perl script
Suppose I have a date 12/22/2011(mm/dd/yyyy) what i have to do is to find
the start date of the week in which that date lies and end date of that week. In this scenario the start date will be 12/19/2011 and the end date will be 12/25/2011:b: (21 Replies)
Hi,
How can we get the week number from any paricular date. lets say date is 20120404 (YYYYMMDD) then how to get the week number?
date +%W --- Thic command gives the week number for current date only.
Thanks. (13 Replies)
Hi All,
I need to recursively grep several folders for a MAC address and display the results with the date of the file name at the start. Even better would be if the final results were displayed chronologically so the newest file is always at the end. Oldest at the top, regardless of what... (8 Replies)