11-29-2001
Re: Finding users currently accesing a directory
dont know if this is the right answer, but i hope i can help you:
type "w" in the shell and press return. from the manuals: ...the "w" utility prints a summary of the current activity of the system...displays who is logged in and what they are doing...
for more information "man w"
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there a way to determine the names of valid system users? I know that last, finger, and who will give you the names of users who have accessed the system and / or those who are currently logged onto the system. I was trying to determine a way to find the names of any valid user whether or not... (5 Replies)
Discussion started by: jrdnoland1
5 Replies
2. UNIX for Dummies Questions & Answers
Hi.
After using the command 'who' and getting all used accounts on current machine -
how can i found out who are the users? (2 Replies)
Discussion started by: roco
2 Replies
3. UNIX for Dummies Questions & Answers
I would like to find out the last time all users have logged in or out. I tried the last command, but it could not find the wtmp file in /var/adm (I searched in othe directories also). This is an AIX rs6000 4.2.1 system. We are moving our applications from this system to an AIX 5.2 system and I... (11 Replies)
Discussion started by: jyoung
11 Replies
4. Shell Programming and Scripting
I am trying to write a script that will list the idle users on my system which is running HPUX 11.11. The script is currently written as :
who -u > /home/rfm/scripts/user.txt
echo " There are currently... "
wc -l /home/rfm/scripts/user.txt
echo " User logins on System : `uname -n` ... (3 Replies)
Discussion started by: rfmurphy_6
3 Replies
5. IP Networking
On a local network, how can I generate a list that includes all usernames with their current ip?
I get this list in Apple Remote Desktop but it would be much more handy to be able to get this kind of a list in Terminal.
Using Terminal on a Mac.
Thanks for this awesome forum! (2 Replies)
Discussion started by: sigurarm
2 Replies
6. Shell Programming and Scripting
hi
while
do
if
then
echo QManager Name $1
fi
if
then
echo Cluster Name$2
fi
if (( $count != 0 && $count != 1 ))
then
echo Queue Name `$($count)`
fi
... (3 Replies)
Discussion started by: satish@123
3 Replies
7. UNIX for Dummies Questions & Answers
Is there a way to find out all users and the UNIX groups they belong to??
:) (3 Replies)
Discussion started by: Hangman2
3 Replies
8. Shell Programming and Scripting
Dear all,
Need a quick help/suggestion on monitoring a particular directory .
We have a deployment directory say (/users/integration/deploy ) under this there are several files which can be edited by a number of users -
We need to write a script which will check this deployment directory... (5 Replies)
Discussion started by: jambesh
5 Replies
9. Shell Programming and Scripting
can someone help me how do i do this..
Display user id, first and last names of all the members of your CIS132 class in alphabetical
order by last name.
Hint:
• All classmate names are in the file /etc/passwd
• the first 5 characters in the user id are the same for all class members. (s132a) (1 Reply)
Discussion started by: an2up
1 Replies
10. UNIX for Advanced & Expert Users
an someone help me how do i do this..
Display user id, first and last names of all the members of your CIS132 class in alphabetical
order by last name.
Hint:
• All classmate names are in the file /etc/passwd
• the first 5 characters in the user id are the same for all class members. (s132a)
... (0 Replies)
Discussion started by: an2up
0 Replies
PERROR(1) MySQL Database System PERROR(1)
NAME
perror - explain error codes
SYNOPSIS
perror [options] errorcode ...
DESCRIPTION
For most system errors, MySQL displays, in addition to an internal text message, the system error code in one of the following styles:
message ... (errno: #)
message ... (Errcode: #)
You can find out what the error code means by examining the documentation for your system or by using the perror utility.
perror prints a description for a system error code or for a storage engine (table handler) error code.
Invoke perror like this:
shell> perror [options] errorcode ...
Example:
shell> perror 13 64
OS error code 13: Permission denied
OS error code 64: Machine is not on the network
The meaning of system error messages may be dependent on your operating system. A given error code may mean different things on different
operating systems.
perror supports the following options.
o --help, --info, -I, -?
Display a help message and exit.
o --ndb
Print the error message for an NDB Cluster error code.
This option is deprecated in NDB 7.6.4 and later, where perror prints a warning if it is used, and subject to removal in a future NDB
Cluster release series. Use the ndb_perror utility instead.
o --silent, -s
Silent mode. Print only the error message.
o --verbose, -v
Verbose mode. Print error code and message. This is the default behavior.
o --version, -V
Display version information and exit.
COPYRIGHT
Copyright (C) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the License.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online
at http://dev.mysql.com/doc/.
AUTHOR
Oracle Corporation (http://dev.mysql.com/).
MySQL 5.7 06/07/2018 PERROR(1)