Sponsored Content
Operating Systems AIX Time taking for cfgmgr on dual VIO Post 302838185 by Sachin1987 on Monday 29th of July 2013 05:21:39 AM
Old 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

Truss taking time in stopping

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

Dual port NIC, cfgmgr

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

login process taking a long time

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

Job is taking long time

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

command taking lot of time to execute

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

SED taking too much time

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

Taking one input at a time

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

ls is taking long time to list

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

Script taking more time in CRONTAB

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
cfg_attr_t(9s)															    cfg_attr_t(9s)

NAME
cfg_attr_t - General: Contains information for managing the loading and unloading of kernel modules SYNOPSIS
typedef struct cfg_attr { char name[CFG_ATTR_NAME_SZ]; uchar type; uchar operation; uint status; long index; union { struct { caddr_t val; ulong min_size; ulong max_size; void (*disposal)(); ulong val_size; } bin; struct { caddr_t val; ulong min_len; ulong max_len; void (*disposal)(); } str; struct { ulong val; ulong min_val; ulong max_val; } num; } attr; } cfg_attr_t; MEMBERS
Specifies the ASCII name of the attribute. The name must be between 2 and CFG_ATTR_NAME_SZ characters in length, including the terminating null character. Do not begin the ASCII name of the attribute with the Method_ or Device_ characters. The cfgmgr framework reserves certain names that begin with the Method_ and Device_ characters. Specifies the data type associated with the name attribute. See the DESCRIPTION section for the constants you can pass to the type member. Specifies the operations that the cfgmgr framework can perform on the attribute. See the DESCRIPTION section for the constants you can pass to the operation member. Stores the return code from operations (configure, unconfigure, query) that the cfgmgr framework performs. See the DESCRIPTION section for the operation codes that the cfgmgr framework can return to the status member. Stores a value that scopes the target for indexed attributes. Specifies a union of the possi- ble attribute types used for storing values, kernel locations, validation criteria, and disposal routines. The cfgmgr framework uses the appropriate union element according to the attribute type. For example, attributes of type CFG_ATTR_ULONGTYPE use the union element num. DESCRIPTION
The cfg_attr_t data structure contains information for managing the configuring and unconfiguring of kernel modules. The cfgmgr framework passes a pointer to this data structure to the kernel module's configure routine. The kernel module can parse this structure pointer to check the validity of the values associated with the module's associated sysconfigtab file fragment and the /etc/sysconfigtab database. You must set the type member to one of the following constants: Data type is a null-terminated array of characters. Data type is a 32-bit signed integer. Data type is a 32-bit unsigned integer. Data type is a 64-bit signed integer. Data type is a 64-bit unsigned integer. Data type is an array of bytes. Data type is an 8-bit unsigned character. Data type is a 16-bit unsigned short integer. You can set the operation member to one of the following constants: The cfgmgr framework configures the attribute. This means the cfgmgr framework obtains a data value for the attribute from the /etc/sysconfigtab database. The configure operation occurs when the cfgmgr frame- work calls the configure routine at its CFG_OP_CONFIGURE entry point. (That is, the optype argument of the configure routine evaluates to the CFG_OP_CONFIGURE constant.) The cfgmgr framework queries (reads) the attribute. This means the kernel module cooperates with the cfg- mgr framework to provide the value associated with the attribute as a result of user-initiated query requests. These requests are typically the result of the sysconfig -q command. The query operation occurs when the cfgmgr framework calls the configure routine at its CFG_OP_QUERY entry point. (That is, the optype argument of the configure routine evaluates to the CFG_OP_QUERY constant.) The cfgmgr framework reconfigures the attribute. This means the cfgmgr framework reconfigures the data value for the attribute. This functionality allows a user to modify the attribute. A reconfigure request is typically the result of the sysconfig -r command. The reconfigure opera- tion occurs when the cfgmgr framework calls the configure routine at its CFG_OP_RECONFIGURE entry point. (That is, the optype argument of the configure routine evaluates to the CFG_OP_RECONFIGURE constant.) The cfgmgr framework can return one of the following operation codes: Successful operation. The attribute you specified in the name member does not exist. The attribute you specified in the name member does not support the operation. The subsystem failed. The value or size of the attribute you specified in the name member is too small. The value or size of the attribute you specified in the name member is too large. The data type that you specified for the attribute you specified in the name member is invalid or is a mismatch. The index associ- ated with the attribute that you specified in the name member is invalid. The cfgmgr framework could not allocate memory for the specified attribute. The attribute that you specified in the name member cannot be converted to a number. FILES
SEE ALSO
Data Structures: cfg_subsys_attr_t(9s) cfg_attr_t(9s)
All times are GMT -4. The time now is 07:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy