02-07-2018
Quote:
Originally Posted by
michael_hoang
I am a newbie in AIX
[...]
using stopsrc -s syslogd and then startsrc -s syslogd. I am not quite sure about refresh -s syslogd as I have seen some posts about this command sometimes may get naughty and do not refresh the conf file at all
You might want to read about the "System Resource Controller" or SRC, for short. It is sort of a super-daemon to start other daemons (called "subservers" or "subsystems", without wanting to go into details). Here is a (very short and incomplete)
Introduction to System Resource Controller (SRC) Commands
How these subsystems are started is defined with the command
mkssys and stored in a "registry"-like data storage called ODM. You can change an already defined subsystem with the command
chssys and remove a subsystem with the command
rmssys. Display a subsystems properties with the command
lssrc -ls <subsystem>.
Starting such a subsystem is done with
startsrc, stopping with
stopsrc and displayed what is running with
lssrc -a.
refresh reinitialises an already started subsystem if it supports signal communication (basically this sends a
kill -1), but some subsystems won't allow that, which is why you have to do a
stopsrc and then a
startsrc in such a case.
I hope this helps.
bakunin
This User Gave Thanks to bakunin For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to send an email to another server but i don't seem to be able to do it.
I can receive mail form other servers but not send out.
I am using IBM AIX 4.x
Any knows whcih configuration file i need to set ?
or any network port to look out for ? (1 Reply)
Discussion started by: owls
1 Replies
2. AIX
Hi,
anyone can guide me how to configure server to send email in AIX.
My server is in a closed network, what do I need to configure and how?
SMTP gateway? mail server?
Thanks and best regards
Solomon (4 Replies)
Discussion started by: chongkls77
4 Replies
3. AIX
Hi All,
How to configure sendmail service in AIX server ?
Please tell me what all changes has to be made in sendmail.conf file.
Please help in this issue to configure it.
Thanks
jack (1 Reply)
Discussion started by: jack00423
1 Replies
4. Shell Programming and Scripting
i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies
5. AIX
Hi,
I want to send SMS from my AIX unix server. Could you please help me?
US Service provider: AT & T
I tried the below command but message not received.
echo "test msg" | /usr/bin/sendmail -v <mobilenumber>@mobile.att.net (4 Replies)
Discussion started by: rsivasan
4 Replies
6. AIX
Hi folks,
I am having an issue here.Currently, my system sends a file from AIX using CICS program to mainframe .
However, Now I need to send file from AIX using CICS program or any other alternative to PCOMM server.
Can anyone enlighten me !!
Rgds,
Targetshell (4 Replies)
Discussion started by: targetshell
4 Replies
7. Solaris
HI
how can i send solaris syslog to centralized logging server?
i have tried adding like below and got error:
*.err;kern.debug;daemon.notice;mail.crit @172.16.200.50:5000
and the error i got in /var/adm/messages is:
Jun 10 13:02:24 aresdb-new.alshaya.com syslogd: line 14:... (10 Replies)
Discussion started by: bentech4u
10 Replies
8. HP-UX
Hi guys,
I am currently runnig hp-ux v11.3. I have enabled auditing and I am able to send the audit events to a text file in syslog format using the following command:
audisp -r /var/.audit/audtrail/auditfile -P -o follow -O sync | audit_p2l > /var/adm/auditlog
I am required to send the... (0 Replies)
Discussion started by: peter maisiba
0 Replies
9. AIX
Hi All
I need your help to configure Aix to send logs to Qradar, I did all the methods that mentioned in IBM website and no use, Plz Help,,
The Logs should I receive from Aix and display in Qradar is (create user delete user changing in privileges....etc )
my skype account
khaled_ly84
... (4 Replies)
Discussion started by: khaled_ly84
4 Replies
10. UNIX for Advanced & Expert Users
Hi,
I need help on syslog-ng on RHEL 7.2. It is working as expected.
As per configuration, it is supposed to create authlog, messages and xymessages daily in respective folder of date. But I can see only messages file and that is also not updating well.
# ps -ef | grep -i syslog
root 22954... (1 Reply)
Discussion started by: solaris_1977
1 Replies
LEARN ABOUT CENTOS
lssubsys
LSSUBSYS(1) libcgroup Manual LSSUBSYS(1)
NAME
lssubsys - list hierarchies containing given subsystem
SYNOPSIS
lssubsys [-m|--mount-points] [-M|--all-mount-points] [controller] [...]
lssubsys [-m|--mount-points] [-M|--all-mount-points] [-i|--hierarchies] [-a|--all]
lssubsys [-h|--help]
DESCRIPTION
lssubsys list the hierarchies containing the given subsystem(s). If no subsystem is defined, it displays all mounted hierarchies.
controller
defines the subsystem whose hierarchy is shown. If this parameter is not used, the command will list all mounted subsystems.
-m, --mount-points
Display mount points. Only the first mount points of shown hierarchies are displayed.
-M, --all-mount-points
Display mount points. All mount points of shown hierarchies are displayed, each on separate line.
-a, --all
Display all subsystems (including unmounted ones).
-i, --hierarchies
Display the attached hierarchy number if the subsystem is in a hierarchy. If the option -m is also used, the hierarchy number is
shown only for unmounted hierarchies.
-h, --help
Display help and exit.
EXAMPLE
The command lssubsys -am lists all subsystems which are present in the system, mounted ones will be shown with their mount point:
$ lssubsys -am
ns
cpuset
cpu,devices
cpuacct /cgroup/cpuacct
memory /cgroup/memory
freezer /cgroup/freezer
net_cls /cgroup/net_cls
The command lssubsys -ami lists all subsystems which are present in the system, mounted subsystems are listed with their mount points,
unmounted ones which are in a hierarchy are listed with their hierarchy number:
$ lssubsys -ami
ns
cpuset 5
cpu,devices 6
cpuacct /cgroup/cpuacct
memory /cgroup/memory
freezer /cgroup/freezer
net_cls /cgroup/net_cls
ENVIRONMENT VARIABLES
CGROUP_LOGLEVEL
controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.
SEE ALSO
lscgroup (1), cgcreate (1), cgdelete (1), cgconfig.conf (5)
Linux 2009-11-05 LSSUBSYS(1)