Operating System - HP-UX
1752754 Members
4867 Online
108789 Solutions
New Discussion юеВ

Re: SMH takes an hour to load accounts

 
SOLVED
Go to solution
Mandosa
Regular Advisor

SMH takes an hour to load accounts

When I use SMH (text interface, and select 'Accounts for Users and Groups', and then 'Local Users', it takes about an hour for the screen of users to come up. There is less than 300 accounts on this system. Using HP-UX B11.31
any ideas?
11 REPLIES 11
Steven E. Protter
Exalted Contributor

Re: SMH takes an hour to load accounts

Shalom,

I would suspect this is a bug.

You may want to do a general QPK patch to bring the system up to spec or do a patch search for smh on http://itrc.hp.com to find patches that deal with this specific issue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: SMH takes an hour to load accounts

Any particular changes you plan to make? You could just use vipw(1m) to edit /etc/passwd.
Mandosa
Regular Advisor

Re: SMH takes an hour to load accounts

the patch link sent me into a quagmire of more links... Our system here requires a bunch of accounts created/deleted every week. The adduser/deluser commands aren't quite granular enough. Is there any way to force the old SAM app?
James R. Ferguson
Acclaimed Contributor

Re: SMH takes an hour to load accounts

Hi:

> The adduser/deluser commands aren't quite granular enough.

What do you believe is missing? Please provide an example of what you want to construct and the input you would use to do so.

Regards!

...JRF...
Mandosa
Regular Advisor

Re: SMH takes an hour to load accounts

usernames, departments, etc. Its an operator that will be doing the account management, so giving them something interactive is ideal.
Mandosa
Regular Advisor

Re: SMH takes an hour to load accounts

i've narrowed down the problem to be with the file /usr/sam/tui/ug/apps/usr/listUsers. This is the file that appears in Top to be taking 100% CPU while smh is sitting there waiting to list the accounts. I ran this directly from the command line on one of our hp-ux 11.31 systems and it listed all the accounts instantly. When i tried from my problem system, there is a 5-10 second delay between each account listed.

James R. Ferguson
Acclaimed Contributor

Re: SMH takes an hour to load accounts

Hi (again) Mandosa:

I would open a case with the Response Center.

Regards!

...JRF...
Solution

Re: SMH takes an hour to load accounts

There were some issues with earlier versions of ugweb around "listing user performance", especially if you have a big /var/adm/wtmp file...

what's the output of:

swlist -l product UsersAndGroups

I think you need to be on at least B.11.31.0809.01 to have the fix... latest version available here:

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=UserGroups

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Mandosa
Regular Advisor

Re: SMH takes an hour to load accounts

The output of swlist -l product UsersAndGroups is UsersAndGroups B.11.31.0709 HP-UX Accounts Management Tool