Sponsored Content
Full Discussion: crontab in AIX
Operating Systems AIX crontab in AIX Post 302096112 by johnf on Tuesday 14th of November 2006 04:38:15 AM
Old 11-14-2006
No wonder /usr/bin/cp /dev/null > /var/adm/wtmp
 

9 More Discussions You Might Find Interesting

1. AIX

How to apply aix 5.3 TL8 properly on ML5 aix system ?

Is it necessary to put system into single user mode for applying aix 5.3 TL8 on a aix 5.3.5.0 system ? Is the TL8 installation not totally safe ? thank you. (6 Replies)
Discussion started by: astjen
6 Replies

2. AIX

IY17981 fix required for aix 4.3.3 to aix 5L migration but not found

Hi, redbook documentation is telling that IY17981 fix is required for aix 4.3.3 to aix 5L migration. But there is no mention about that fix in any ML installation packages. - My system is ML11 : oslevel –r 4330-11 - But xlC.rte is on wrong version : lslpp -L xlC.rte xlC.rte ... (3 Replies)
Discussion started by: astjen
3 Replies

3. UNIX for Dummies Questions & Answers

Crontab problem in AIX

Hi my script is as below. #! /bin/sh get=`ls -l *.ZIP | egrep -c '^-'` put=`cat Get_File_Count.txt|grep ''` if then echo $get > Get_File_Count.txt echo "Hi,\n\nYou've got a new feed!\n\nFilename : `ls -l *.ZIP|sort -k 6|tail -1|cut -c 58-90`" | mail -s "New File Received" user@domain.com... (8 Replies)
Discussion started by: naveen.kuppili
8 Replies

4. Shell Programming and Scripting

Sed or Awk for modify hour in a crontab AIX

Hi, I want to modifiy the hour in the crontab AIX 5.3 for this line: Input: 00 22 * * * /outillage/script_exploit/bin/SavOffline.ksh > /dev/null 2>&1 Output: 30 20 * * * /outillage/script_exploit/bin/SavOffline.ksh > /dev/null 2>&1 With the awk or sed function through a ssh -q... (1 Reply)
Discussion started by: khalidou13
1 Replies

5. AIX

How to upgrade AIX Firmware & TL Maintenance Level in AIX

Steps to upgrade AIX TL ( technology Level ) / Maintenance Level in AIX ( including Firmware HMC VIOS ) This article or post covers upgrades for - Hardware Management Console ( HMC ) - Firmware ( also known as microcode ) - VIO ( Virtual I/O Server = PowerVM ) - AIX Version, Technology... (2 Replies)
Discussion started by: filosophizer
2 Replies

6. Shell Programming and Scripting

Crontab on AIX

Hi I'm trying to set up a crontab on AIX and for some reason it's not running my script at the specified time - here's what I have tried so far: 30 14 * * * <scriptname> 35 14 *** /directory/<scriptname> 40,14 *** /directory/<scriptname> (nb crontab won't accept the comma) 1 and 2... (10 Replies)
Discussion started by: dbchud
10 Replies

7. AIX

Nim on AIX 7.1 used to migrate AIX 5.3 to AIX 6.1...is possible?

Using nimadm: nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y Initializing the NIM master. Initializing NIM client sap024. 0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies

8. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

9. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies
INIT(8) 						      System Manager's Manual							   INIT(8)

NAME
init - grandparent of all processes DESCRIPTION
The first program started by Minix is init. The actions performed by init can be summarized by this pseudo shell program: # Open 0, 1, 2. exec </dev/null >/dev/log 2>&1 # Run the system initialization script. sh /etc/rc $bootopts >/etc/utmp echo reboot >>/usr/adm/wtmp while :; do # Wait for a process to exit, but don't always block. wait # Record logout. (Not in this dumb way, of course.) if "pid is in my tables" $pid then echo "logout $pid" >/etc/utmp echo "logout $pid" >>/usr/adm/wtmp fi # Start a new session. while read line type getty init do if idle $line then $init ... <$tty >$tty $getty <$tty >$tty 2>&1 & pid=$! "add pid to tables" $pid echo "login $line $pid" >/etc/utmp echo "login $line $pid" >>/usr/adm/wtmp fi done < /dev/ttytab done The first action of init is to run /etc/rc to initialize the system as described in boot(8). Init then enters its main loop where it waits for processes to exit, and starts processes on each enabled terminal line. The file /etc/ttytab contains a list of terminal devices, their terminal types, the program to execute on them to allow one to login (usually getty(8)), and the program to execute first to initialize the line (usually stty(1)). These fields may be left out to indicate that a line is disabled or that initialization is not necessary. The commands are searched using the path /sbin:/bin:/usr/sbin:/usr/bin. Init accepts several signals that must be sent to process id 1. (It is the first process, so natually its process id is 1.) The signals are: SIGHUP When receiving a hangup signal, init will forget about errors and rescan ttytab for processes to execute. Init normally rescans ttytab each time it feels the need to respawn a process, so the hangup signal is only needed if a line has been shut down, or after a terminate signal. Note that after turning a line off you will have to kill the process running on that line manually, init doesn't do that for you. SIGTERM Normally sent by programs that halt or reboot Minix. Causes init to stop spawning new processes. SIGABRT Sent by the keyboard driver when the CTRL-ALT-DEL key combination is typed. Causes init to run the shutdown command. A second abort signal makes init halt the system directly with a system call. The keyboard driver halts the system, without a sync, after the third CTRL-ALT-DEL. Minix vs. Minix-vmd There are a few differences between standard Minix and Minix-vmd on how init is run. The /etc/rc file is executed under standard Minix with input connected to /dev/console, but under Minix-vmd this is still /dev/null. This means that under Minix-vmd processes must be reconnected to /dev/console with the intr program if they need user interaction. Minix-vmd passes the value of the bootopts boot variable to /etc/rc. Standard Minix does not. FILES
/etc/ttytab List of terminals devices. /etc/utmp List of currently logged in users. /usr/adm/wtmp Login/logout history. SEE ALSO
ttytab(5), utmp(5), getty(8), stty(1), boot(8). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) INIT(8)
All times are GMT -4. The time now is 12:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy