Some timestamps seem to be converted from 06 to 22 or from 05 to 21? Is that correct?
yes, since the bats "day" starts at 4pm 1600, the logger is set to 16 hours behind. The final calculations add 16 hours to compensate. Normally the only lines shown are the daily counts. This is showing the workings to help debug. comment out this line for only daily counts:
I can provide an entire run of output.txt covering almost a year if you want.
HI all,
Ping is happening to a AIX box...but telnet is not happening...
AIX box doesn't have any conslole...
Please help how to resolve it.
Thanks in advance ..
Manu (2 Replies)
Hi All,
We are not able to ping to a AIX box...Network is ok..when we give ping from that AIX box..it is giving 0821-067 ping: The socket creation call failed.there is no enough buffer space for the requested socket operation.
refresh -s inetd is also giving socket error.
Please help to... (1 Reply)
hi everybody.
i ussually use unix and windows, but mainly unix-mandriva distribution, and i have a problem.
i have like main os unix, and windows as secondary, and this one is loaded by vmware application.
well, when a i load vmware to execute windows afterwards when i return to unix, in this... (1 Reply)
Hi All,
Iam trying to increment a variable
Following is the code
#!/usr/bin/ksh
i=1;
i='expr $i+1';
echo $i;
Output:
expr $i+1
not able to understand why its happening in that way
i was expecting result as 2... if the above method is worng .. can you help how i can get... (3 Replies)
Hi gang,
I am trying to create some batch commands for many html pages I need to re-format.
I am trying the number 2b in this example to wrap anchor tags around the number that will be referenced in the footnotes.
I am trying to use the h/H hold command, but I have never tried using it... (2 Replies)
Hello everyone,
For a while now ive been wanting to create a way for me to access my home pc and have it perform remote tasks (Namely file downloading, archiving, torrenting) without needing to keep the PC continuously powered.
Having seen the power of Linux and ssh at the hands of... (1 Reply)
Have anybody heard about the Leap second problem
Leap second :A leap second is a one-second adjustment that is occasionally applied to Coordinated Universal Time (UTC) in order to keep its time of day close to the mean solar time.
How could i avoid such thing in my script which i deal with... (6 Replies)
If anyone could possibly help me to do this following question?
Print a long listing of the files in the login directory for a specific month.
The user is prompted to enter the first 3 letters of a month name, starting with a capital, and the program will display a long list of all files that... (1 Reply)
Need to automate the following steps (OS--> AIX )
1. cd /advx/R8.1MR2/TOP/logs ( I navigate to this directory)
2. Monitor the current date ULOG for specific error pattern
=> ls -lrt ULOG.08*
-rw-rw-rw- 1 vssrt vssgrp 24370 Aug 01 23:57 ULOG.080112
-rw-rw-rw- 1 vssrt vssgrp ... (6 Replies)
Discussion started by: krchakr
6 Replies
LEARN ABOUT OPENSOLARIS
holidays
holidays(4) File Formats holidays(4)NAME
holidays - prime/nonprime table for the accounting system
SYNOPSIS
/etc/acct/holidays
DESCRIPTION
The /etc/acct/holidays file specifies prime time hours and holidays. Holidays and weekends are considered non-prime time hours.
/etc/acct/holidays is used by the accounting system.
All lines beginning with an * are comments.
The /etc/acct/holidays file consists of two sections. The first non-comment line defines the current year and the start time of prime and
non-prime time hours, in the form of:
current_year prime_start non_prime_start
Specify prime_start and non_prime_start times in the range of 0000 to 2400.
The remaining non-comment lines define the holidays in the form of:
month/day company_holiday
Of these two fields, only the month/day is actually used by the accounting system programs.
The /etc/acct/holidays file must be updated every year.
EXAMPLES
Example 1 An Example of the /etc/acct/holidays File
The following is an example of the /etc/acct/holidays file:
* Prime/Nonprime Table for the accounting system
*
* Curr Prime Non-Prime
* Year Start Start
*
1991 0830 1800
*
* only the first column (month/day) is significant.
*
* month/day Company Holiday
*
1/1 New Years Day
5/30 Memorial Day
7/4 Indep. Day
9/5 Labor Day
11/24 Thanksgiving Day
11/25 day after Thanksgiving
12/25 Christmas
12/26 day after Christmas
SEE ALSO acct(1M)SunOS 5.11 18 Aug 2008 holidays(4)