07-29-2013
Thanks for your quick replies,
We are using few /usr/lib/methods in cfgmgr and they are little slow on VIO.
Many thanks.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Experts,
I am starting my unix servers with truss cmd and taking truss output in a file . But when I run it for considerabely long time, it is not stopping easily on doing ^C ..... It is taking lotz of ctrl-C's to stop.
Please let me know is there any other way to stop truss except ^C and... (1 Reply)
Discussion started by: aarora_98
1 Replies
2. AIX
OS: AIX 6.1
The host has a dual port NIC installed and when I went to run `cfgmgr -v` to configure it I got an error showing device packages are missing from the install:
`cfgmgr -v` on 10.15.xx.xxx
cfgmgr: 0514-621 WARNING: The following device packages are required for device support but... (3 Replies)
Discussion started by: b1f30
3 Replies
3. Red Hat
I'm having a bit of a login performance issue.. wondering if anyone has any ideas where I might look.
Here's the scenario...
Linux Red Hat ES 4 update 5
regardless of where I login from (ssh or on the text console) after providing the password the system seems to pause for between 30... (4 Replies)
Discussion started by: retlaw
4 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
We have 20 jobs are scheduled.
In that one of our job is taking long time ,it's not completing.
If we are not terminating it's running infinity time actually the job completion time is 5 minutes.
The job is deleting some records from the table and two insert statements and one select... (7 Replies)
Discussion started by: ajaykumarkona
7 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am running the following command, and it tries to delete some dn from ldap, however, it takes lot of time before it finally request LDAP server to delete it.
I am trying to find why it is taking lot of time. Could you anyone help me in this regard. I have copies the pstack output, and... (3 Replies)
Discussion started by: john_prince
3 Replies
6. UNIX for Dummies Questions & Answers
Hi
I am trying to remove some characters from my data file.
The data file has huge number of records say 90000 records.
I am using sed for this purpose.
eg :
cat FILENAME|sed 's/;//g' (to remove semi colon ';')
However as the data file is too huge , it is taking too much time to give... (3 Replies)
Discussion started by: dashing201
3 Replies
7. Shell Programming and Scripting
Legends,
Please help me to come out of the below Bermuda triangle.
I have four inputs in a shell script: A B C D
Now, If A is passed by user then, B C D will be ignored.
If C is passed by user, then A B D will be ignored.
Regards,
Sandy (11 Replies)
Discussion started by: sdosanjh
11 Replies
8. UNIX for Dummies Questions & Answers
Hi,
All the data are kept on Netapp using NFS. some directories are so fast when doing ls but few of them are slow. After doing few times, it becomes fast. Then again after few minutes, it becomes slow again. Can you advise what's going on?
This one directory I am very interested is giving... (3 Replies)
Discussion started by: samnyc
3 Replies
9. Shell Programming and Scripting
Hello All,
I have created a shell script, When i run it manually as ./<script_name> it takes 5 hours to run, but when i am scheduling it in crontab, it is taking 20 hours to run.
Please help me and advice, what can be done to reduce the time in crontab.
Thank you (6 Replies)
Discussion started by: anand2308
6 Replies
LEARN ABOUT OSF1
cfg_subsys_config
cfg_subsys_config(3) Library Functions Manual cfg_subsys_config(3)
NAME
cfg_subsys_config - Configure a subsystem
LIBRARY
Configuration Management Library (libcfg.a)
SYNOPSIS
#include <cfg.h> cfg_status_t cfg_subsys_config(
cfg_handle_t *handle,
caddr_t subsys);
PARAMETERS
Structure identifying the means of communication between your application and the configuration management server. For local requests,
pass NULL in this parameter. For remote requests, pass the value returned from the cfg_connect routine. Names the subsystem to be config-
ured.
DESCRIPTION
To initially configure a subsystem into the kernel, call the cfg_subsys_config() routine. If the subsystem is not loaded into the kernel,
this routine loads the subsystem. The routine then configures the subsystem using the attribute settings from the /etc/sysconfigtab data-
base. If no attributes are set in the database, the default values defined in the subsystem code are used.
Each subsystem is contained in a module file named subsystem-name.mod. For example, a subsystem named mysubsystem is contained in the
mysubsystem.mod module file. This module file must exist in the /subsys, /var/subsys, or /sys/BINARY directory on the system you are con-
figuring.
EXAMPLES
The following example illustrates the use of the cfg_subsys_config() routine:
cfg_status_t retval; cfg_handle_t handle;
retval = cfg_subsys_config(&handle, "vfs");
if (retval != CFG_SUCCESS)
print_error(retval);
In this example, the cfg_subsys_config() routine attempts to configure the vfs subsystem. If an error is returned, the corresponding error
message is displayed to the application user.
RETURN VALUES
Upon successful completion, cfg_subsys_config() returns CFG_SUCCESS. Other return values indicate that an error has occurred. For infor-
mation about handling return values from routines in the configuration management library, see libcfg(3).
RELATED INFORMATION
Commands: cfgmgr(8), sysconfig(8)
Routines: cfg_subsys_reconfig(3), cfg_subsys_unconfig(3), libcfg(3) delim off
cfg_subsys_config(3)