05-29-2009
Here is the out put of command run level...
#chkconfig --list sname
sname 0
![Embarrassment Smilie](https://www.unix.com/images/smilies/redface.gif)
ff 1
![Embarrassment Smilie](https://www.unix.com/images/smilies/redface.gif)
ff 2
![Embarrassment Smilie](https://www.unix.com/images/smilies/redface.gif)
n 3
![Embarrassment Smilie](https://www.unix.com/images/smilies/redface.gif)
n 4
![Embarrassment Smilie](https://www.unix.com/images/smilies/redface.gif)
n 5;on 6
![Embarrassment Smilie](https://www.unix.com/images/smilies/redface.gif)
ff
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
sorry, i'm a newbie to unix...
but how do i or rather where do i write scripts that auto start my application e.g. Informix?
in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before... (2 Replies)
Discussion started by: doofie
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
I'm new to AIX, and have to make some services start at system startup. The IBM-Redbook says I have to edit /etc/inittab. As a long time (Debian)-Linux Admin I'm a bit confused. Is there something like /etc/init.d/$SERVICE in AIX?
Greetings,
Dennis (1 Reply)
Discussion started by: dennis.kuehl
1 Replies
3. Solaris
Hi all! I'm running Solaris 10 and have a question about how i can stop a certain program to start at system startup,for example, as it is now sendmail is starting but i don't need sendmail,on the other hand so would i be very glad to get cups up and running at startup, anyone who can explain where... (3 Replies)
Discussion started by: larsgk
3 Replies
4. UNIX for Dummies Questions & Answers
I've put this script in /etc/rc.d and made a symbolic link to it from S99pctb in /etc/rc.d/rc3.d but it wont start up. Anyone know why ?
This is the script:
---------------------------
#!/bin/sh
c=1
case "$1" in
start)
echo -n "starting pctb ..." > /etc/logger
while ; do... (7 Replies)
Discussion started by: msearson1
7 Replies
5. Solaris
Solaris uses a few different mechanisms to start up services and processes at boot time. Where do all the running processes come from? Can you find from where they were started? (8 Replies)
Discussion started by: gc40
8 Replies
6. Solaris
Hi guys:
i have a Solaris 10 development server and a Solaris 9 production server. The entire task must be done in the dev. server. When it's done and all the testing is OK, the script or files are transfer to prod. Server.
All right. Now I have to figure out a way to put a script to initiate... (2 Replies)
Discussion started by: bmathiasf
2 Replies
7. AIX
Guy's
What the exact steps to mention for example this script /usr/start/start.sh
to be as start up script , I want it to be automatically started when I reboot the server . (8 Replies)
Discussion started by: ITHelper
8 Replies
8. UNIX for Advanced & Expert Users
Hello All
i have a question related to some services,i want to start some services with server linux centos.
i make "chkconfig httpd on" and "chkconfig asterisk on",but when i verify with chkconfig --list i found
httpd 0: off 1: off 2: on 3: on 4: on 5: on 6:... (6 Replies)
Discussion started by: bernard12
6 Replies
9. Shell Programming and Scripting
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies
10. Red Hat
Hello,
I am in the process of learning Linux OS.
How do I run the below lines of code automatically as root on server startup.
cd /opt/program_folder/ServiceManager/bin
nohup ./servce_manager DEV &
Currently, as soon as the server is up and running I log in as root (as this... (6 Replies)
Discussion started by: rparavastu
6 Replies
META(3) Library Functions Manual META(3)
NAME
libmeta.a - simplified interface to metafile(5)
SYNOPSIS
extern FILE *pout;
mline(x, y, type, thick, color)
mpoly(x, y, border, pat, color)
mdraw(x, y)
mtext(x, y, s, cpi, color)
char *s;
mvstr(xmin, ymin, xmax, ymax, s, d, thick, color)
char *s;
mrectangle(xmin, ymin, xmax, ymax, pat, color)
mtriangle(xmin, ymin, xmax, ymax, d, pat, color)
msegment(xmin, ymin, xmax, ymax, sname, d, thick, color)
char *sname;
msetpat(pat, pattern)
char *pattern;
mopenseg(sname)
char *sname;
mcloseseg()
minclude(fname)
char *fname;
mendpage()
mdone()
DESCRIPTION
The routines in libmeta provide a simple interface to the metafile(5) 2D graphics stream. Output from these routines is sent to pout.
Pout defaults to the standard output, and should be piped to the appropriate device driver.
All coordinates range from 0 to 16383 and map to a square area on the output device. D values are one of 'r', 'u', 'l' and 'd' correspond-
ing to right, up, left, and down respectively. Color values range from 0 to 3 and normally correspond to black, cyan, green and blue.
Pattern values range from 0 to 3 and default to solid, thick lines, thin lines, and candystripe. Pattern value mapping may be changed via
setpat. All strings are null-terminated, and do not contain newlines.
Mline starts a line at the given coordinates. The line type is a number from 0 to 3 corresponding to solid, dashed, dotted, and dot-
dashed. The line thickness, thick, is a number from 0 to 3. Connected lines are drawn with successive calls to mdraw.
Mpoly starts a polygon at the given coordinates. The boolean border specifies whether or not a border is desired around the polygon.
Mdraw is used to add vertices to the polygon. The polygon will be closed automatically after the last call.
Mtext prints a string of hardware characters starting at the given coordinates. The characters per inch are cpi. Text is always oriented
to the right.
Mvstr places a vector character string within the given boundaries. The string is oriented according to d. The character line thickness
is given by thick.
Mrectangle fills the given box with pat. Mtriangle fills the half-box with orientation d in the given boundaries. Right corresponds to a
triangle in the lower right half of the box. Up corresponds to a triangle in the upper right, left is upper left, and down is lower left.
Msegment places an instance of the segment sname within the given boundaries. The segment is oriented according to d, where 'r' is null
rotation. If either thick or color is nonzero, its value will replace corresponding values in the segment primitives. (For area filling,
thick changes the fill pattern.)
Msetpat maps pat to pattern. Pattern is a string of the form "Pn" where n is a number between 0 and 11.
Mopenseg opens the segment named sname. All graphics calls up to a matching call to mcloseseg are stored under sname. An instance of the
segment is obtained with a call to msegment. Segments can be nested to any level, and redefining segments is allowed. Beware of calls to
mtext within a segment, since text will not rotate or scale.
Minclude includes the graphics metafile fname in the output stream. Mendpage advances to the next screen or page. On a terminal, the bell
rings and a line is read to prevent premature erasure. Mdone completes metafile output, and is the only required call.
DIAGNOSTICS
None.
SEE ALSO
t4014(1), mx80(1), impress(1), primout(3), metafile(5)
Radiance 11/15/93 META(3)