Sponsored Content
Top Forums UNIX for Advanced & Expert Users Usernames and processes most used Post 101814 by vgersh99 on Monday 13th of March 2006 11:29:02 AM
Old 03-13-2006
Quote:
Originally Posted by anw68ster
I need a command that returns the usernames that have ran the 10 processes that have taken the most time to execute on a machine.

I also need a command that returns only those directories that have read/execute permissions for all the users.
now that we all know what your needs are.... what have you tried to accomplish yourself so far?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

max charachters for usernames

Can anyone tell me what the charachter maximum on a username is in SunOs 5.6. Thanks Mark (1 Reply)
Discussion started by: m.szylkarski
1 Replies

2. Shell Programming and Scripting

extracting usernames with at least 4 characters

Hi, i want to use grep to extract users with at least 4 characters in their username, i've tried who | grep \{4,\} but thats not working!!!!!! Thanks (4 Replies)
Discussion started by: c19h28O2
4 Replies

3. Post Here to Contact Site Administrators and Moderators

What is meant by the words under usernames?

Under all users, there are some keynames. Some are obvious, like Moderator and Registered User. I have seen others too. What do they mean or signify?;) (2 Replies)
Discussion started by: joeyg
2 Replies

4. UNIX for Advanced & Expert Users

Usernames across Applications

Hello everyone, I was just wondering if there was a way to make it so that usernames could be used across applications. For instance, I have a server that has a bunch of users. I want these users to have ways of accessing my database as well as a variety of other programs, but I don't want them... (2 Replies)
Discussion started by: gonzofish
2 Replies

5. UNIX for Advanced & Expert Users

Usernames in Sudoers have #

We have users that have a # in their username. Sudo is working on some servers and not others. I have narrowed it down to the # in their username. Any suggestions or ideas why it is working on 1 server but not another. Server not working is - Solaris 10 patch level 138888-01 Server working is ... (1 Reply)
Discussion started by: Gibby13
1 Replies

6. Shell Programming and Scripting

Creating usernames from a list of names

Hello everyone, I am trying to create a script that will make usernames (last name and first letter of name - for example, James Bond = bondj). At this point, I figured out how to make a script that can read the list of names from a text file. Here is what I have: #!/bin/bash ... (5 Replies)
Discussion started by: RSpades
5 Replies

7. Shell Programming and Scripting

Loop through usernames 1 by 1 and select

Hello All, A quick description of what I would like to do; 1) Find all the current registered usernames and loop through them. 2) Display each username 1 by 1 and Ask the user if they would like to store the username in another array (y or n) 3) Display the list of chosen usernames... (4 Replies)
Discussion started by: mmab
4 Replies

8. Solaris

Individual usernames for the same login account

Hi There is an application installed on a server, that has a unique login account, but many users are using it with the same login name! How can we overcame this by creating individual accounts for the same application login account? (11 Replies)
Discussion started by: fretagi
11 Replies

9. Homework & Coursework Questions

Display usernames and their UIDs

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a script that displays all usernames and their UIDs in the following fashion: name1 uid=999 name2... (2 Replies)
Discussion started by: baniel
2 Replies
BOS_EXEC(8)						       AFS Command Reference						       BOS_EXEC(8)

NAME
bos_exec - Executes a command on a remote server machine SYNOPSIS
bos exec -server <machine name> -cmd <command to execute> [-cell <cell name>] [-noauth] [-localauth] [-help] bos e -s <machine name> -cm <command to execute> [-ce <cell name>] [-n] [-l] [-h] DESCRIPTION
The bos exec command executes the indicated command on the file server machine named by the -server argument. Its intended use is to reboot the machine, using the /sbin/reboot command or equivalent. OPTIONS
-server <machine name> Indicates the server machine on which to execute the command. Identify the machine by IP address or its host name (either fully- qualified or abbreviated unambiguously). For details, see bos(8). -cmd <command to execute> Specifies the complete local disk pathname of the command to execute (for example, /sbin/reboot). Surround this argument with double quotes ("") if the command contains one or more spaces. -cell <cell name> Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8). -noauth Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see bos(8). -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see bos(8). -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command reboots the machine "fs2.abc.com". The issuer has previously issued the bos shutdown command to shutdown all processes cleanly. % bos exec -server fs2.abc.com -cmd /sbin/shutdown -r now PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included. The bos exec command is not available on servers running in restricted mode. SEE ALSO
bos(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 BOS_EXEC(8)
All times are GMT -4. The time now is 10:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy