Hi. Im working in AIX. Oracle 9.2.
In one of the backup scripts, I see this:
sysback -f'/dev/rmt0' '-T chrp' '-k mp' -w '/tmpback' 'oradata_vg oraindx_vg ora misc_vg'
The line here, as I know, specifies the device name, the temp file, and the volume groups.
My query regards theses two: '-T... (2 Replies)
Hi,
I am trying to find the max memory utilization of a binary file using chatr command.
i gave chatr <file name>. But no where i could see the max memory usage of the file. How do you i check the memory usage of this binary file.
Upto my knowledge it should be 1.75GB in HP-UX. But the does... (1 Reply)
Hello,
can someone please explain me what the following commands do.. i know the output but i would like to understand the break down of what they do step by step.
1) sed -n "/ $(date +\%R -d "-1 min")/,$"p req.txt| wc -l
2)
awk '/19:00/,/22:00/' app.log |grep "mytesturl"|grep... (2 Replies)
root@desktop:~# last reboot | head -1
reboot system boot 2.6.31-17-generi Tue Jan 26 12:05 - 13:52 (01:46)
What does the last two fields(12:05 - 13:52 (01:46)) of the output mean? (2 Replies)
I have taken putty session of a server from two separate machines namely HOST1(3 sessions) and HOST2(1 Session) .
However w command says there are 5 users
Confused over the output any clue will be appreciated.
# w
09:29:36 up 34 days, 15:48, 5 users, load average: 0.62, 4.33, 8.16
USER ... (3 Replies)
Hi
i am in learning phase of unix.
i was going through exec in a unix book. below is the command
exec n>file
exec n>>file
however when i used the exec command like below , where ex is the file name
exec 2>>exand then do ls -lrt then again when i do the ls -lrt to see the size of the file... (3 Replies)
hi guys,
booting centos7 and use systemd execute system command ulimit -SHn 202400 is fail.i dont know what's reason.can you give me help.
------------------------------------------
set-ulimit.service
Description=test service
After=systemd-update-utmp-runlevel.service #the last... (1 Reply)
Hi Gurus,
I am new for Unix scripting. below command in one existing script. I am not able to fully understand. please help
in below command, I am not able to understand what's {P=1} do
thanks in advance
awk 'NF==1{$3=$1;$1=L}P&&NF>=3{print $1,$3;L=$1}/^___/{P=1}' FILE (3 Replies)
Help understand awk command
This command converts the column values to rows.
Command:
awk -s1=" " '{S=S?S OFS s1 $0 s1:s1 $0 s1} END{print S}' OFS=, Input_file
Example:
1
2
3
is converted to:
1, 2, 3
Can anyone please help me understand this command?
Please use code tags when... (1 Reply)
Discussion started by: mohan44
1 Replies
LEARN ABOUT SUNOS
calendar
calendar(1) User Commands calendar(1)NAME
calendar - reminder service
SYNOPSIS
calendar [-]
DESCRIPTION
The calendar utility consults the file calendar in the current directory and writes lines that contain today's or tomorrow's date anywhere
in the line to standard output. Most reasonable month-day dates such as Aug. 24, august 24, 8/24, and so forth, are recognized, but not 24
August or 24/8. On Fridays and weekends "tomorrow" extends through Monday. calendar can be invoked regularly by using the crontab(1) or
at(1) commands.
When the optional argument - is present, calendar does its job for every user who has a file calendar in his or her login directory and
sends them any positive results by mail(1). Normally this is done daily by facilities in the UNIX operating system (seecron(1M)).
If the environment variable DATEMSK is set, calendar will use its value as the full path name of a template file containing format strings.
The strings consist of conversion specifications and text characters and are used to provide a richer set of allowable date formats in dif-
ferent languages by appropriate settings of the environment variable LANG or LC_TIME; see environ(5). Seestrftime(3C) for the list of
allowable conversion specifications.
EXAMPLES
Example 1: Possible contents of a template
The following example shows the possible contents of a template:
%B %eth of the year %Y
%B represents the full month name, %e the day of month and %Y the year (4 digits).
If DATEMSK is set to this template, the following calendar file would be valid:
March 7th of the year 1989 <Reminder>
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of calendar: LC_CTYPE, LC_TIME, LC_MES-
SAGES, NLSPATH, and TZ.
EXIT STATUS
0 Successful completion.
>0 An error occurred.
FILES
/etc/passwd system password file
/tmp/cal* temporary files used by calendar
/usr/lib/calprog program used to determine dates for today and tomorrow
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
SEE ALSO at(1), crontab(1), mail(1), cron(1M), ypbind(1M), strftime(3C), attributes(5), environ(5)NOTES
Appropriate lines beginning with white space will not be printed.
Your calendar must be public information for you to get reminder service.
calendar's extended idea of ``tomorrow'' does not account for holidays.
The - argument works only on calendar files that are local to the machine; calendar is intended not to work on calendar files that are
mounted remotely with NFS. Thus, `calendar -' should be run only on diskful machines where home directories exist; running it on a disk-
less client has no effect.
calendar is no longer in the default root crontab. Because of the network burden `calendar -' can induce, it is inadvisable in an environ-
ment running ypbind(1M) with a large passwd.byname map. If, however, the usefulness of calendar outweighs the network impact, the super-
user may run `crontab -e' to edit the root crontab. Otherwise, individual users may wish to use `crontab -e' to edit their own crontabs to
have cron invoke calendar without the - argument, piping output to mail addressed to themselves.
SunOS 5.10 1 Feb 1995 calendar(1)