Hi,
Is it possible to specify runlevel
from bootloader command line?
I would like to override settings from /etc/inittab
without changing it.
Thanks (2 Replies)
Is it possible to give multiple runlevel options during boot up.. When the Welcome screen appears, i want to give multiple runlevel options.. So the user can boot into any desired runlevel he wants.. Found this kinda interesting.. Any hints and solutions please? (2 Replies)
Hi,
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Ok, I am attempting to add a new program to startup during the runlevel 3. I am using Suse 10.
I made a script lets call it foostart and placed it in /etc/init.d. It has 777 permissions on the script.
I then created a link ln -s /etc/init.d/foostart /etc/init.d/rc3.d/S99foostart
But during... (9 Replies)
hi all
i have to run a script in run level 1 automatically i.e when i give init 1 from runlevel 3 that script should run after entering into runlevel 1.
where can i put that script so that it will run as i said above..???
something similar to rc.local but this will run in runlevel 3(... (1 Reply)
Hi,
I am trying with the following code to retrieve the runlevel of my Linux Ubuntu 8.04 system by reading the "utmp" database. But I am getting blank output. May I know what correction I should do inorder to make this program to work?
#include <stdio.h>
#include <stdlib.h>
#include... (1 Reply)
Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
LEARN ABOUT OPENSOLARIS
strclean
strclean(1M) System Administration Commands strclean(1M)NAME
strclean - STREAMS error logger cleanup program
SYNOPSIS
strclean [-a age] [-d logdir]
DESCRIPTION
strclean is used to clean up the STREAMS error logger directory on a regular basis (for example, by using cron. By default, all files with
names matching error.* in /var/adm/streams that have not been modified in the last three days are removed.
OPTIONS
The following options are supported:
-a age The maximum age in days for a log file can be changed using the -a option.
-d logdir A directory other than /var/adm/streams can be specified using the -d option.
EXAMPLES
Example 1 A sample of using the strclean command.
This example has the same result as running strclean with no arguments:
example% strclean -d /var/adm/streams -a 3
FILES
/var/adm/streams/error.*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO cron(1M), strerr(1M), attributes(5)NOTES
strclean is typically run from cron on a daily or weekly basis.
SunOS 5.11 14 Sep 1992 strclean(1M)