04-09-2008
Problems with any ls attributes
I got a server (test server) that hangs anytime we run a ls attribute like ls -ltr or ls -al. We can run ls | more command with no problem. But getting back to the ls attribute problem, it just sits and hangs, I did a ps -ef | grep ls, and a user had 15 sessions of ls -al running, I killed those, but still stuck; I was trying to learn the truss command here's my output with that:
/> truss -p 22721
lstat64("./mnt", 0xEFFFF5A0) (sleeping...)
any ideas?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Good day
Does anyone have an idea on how I can rcp a file together with its attributes. owner,group, permissions ?
Regards
J (2 Replies)
Discussion started by: jhansrod
2 Replies
2. Shell Programming and Scripting
how do we set file attributes at shell prompt (2 Replies)
Discussion started by: hytechpro
2 Replies
3. UNIX for Dummies Questions & Answers
hi,
i am very- very new to unix
i have os - sun solaris 5.9 and i want to learn more about system attributes for example, the make - model of machine , operating system & patch versions
can somebody tell me a usefull command to learn these?
any help would be apreciated,
regards to all,... (3 Replies)
Discussion started by: merope
3 Replies
4. Shell Programming and Scripting
How to retrieve file attributes in a sh/bash script (modification time, access time, size, etc.)? (1 Reply)
Discussion started by: Hitori
1 Replies
5. Shell Programming and Scripting
i have a file with contents
test123
qwwww
sdsad
asdasd
asdad
adadsw
sasfar
sfaf
a
afasf
OPERATION END
i need to grep all the contents from test123 and OPERATION END.Can somebody help me how to do it ? (7 Replies)
Discussion started by: giri_luck
7 Replies
6. Shell Programming and Scripting
I am migrating from a host to another and I am trying to mimic the attributes on the old server.
Only problem is I can't figure out a fast way. Any recommendations?
Initially I thought about listing all my files on my previous host, but for some reason the listing of all files produced... (2 Replies)
Discussion started by: raykon
2 Replies
7. UNIX for Advanced & Expert Users
Hi Gurus,
I am trying to create a FS using SVM but system is throwing the following error.
newfs /dev/md/rdsk/d1002
newfs: construct a new file system /dev/md/rdsk/d1002: (y/n)? y
/usr/sbin/clri: can't get execution attributes (1 Reply)
Discussion started by: rama krishna
1 Replies
8. AIX
SOS Guys...
Is there any way to determine the user attributes, mainly if that userid is set as never expire?
I do not have admin rights, and I'm working on AIX 5.3
I've tried :
lsuser -f <username>
but no luck on that (2 Replies)
Discussion started by: freakygs
2 Replies
9. UNIX for Dummies Questions & Answers
In a directory I have many *.dat *.f files and also binary files created from Fortran compilation that doesn't have a filename extension.
Is it possible to delete these binary files according to its attributes?
Thanks. (4 Replies)
Discussion started by: lost.identity
4 Replies
10. UNIX for Beginners Questions & Answers
I'm trying to sort out the charing of a problem folder, in the 'ls -l' list is shows as:
d???????????? ? ? ? ? ? Pi-Share
PiShare is the name of the directory, all the ??s make no sense to me at all, and no user (there are only two, pi and root) can make any changes to it.... (4 Replies)
Discussion started by: MuntyScrunt
4 Replies
LEARN ABOUT HPUX
remove_directory
remove directory(1m) remove directory(1m)
NAME
remove directory - Removes a value from a set-valued or single-valued attribute (including application-defined attributes) of a directory
SYNOPSIS
cdscp remove directory directory-name attribute-name [= attribute-value]
ARGUMENTS
The full name of the directory. The name of a particular attribute. Specify only one attribute at a time. See the cds_attributes file
for the list of attributes and corresponding data types that your application uses. The value of a particular attribute. The value of an
application-defined attribute is dependent on the type of attribute.
DESCRIPTION
The remove directory command removes a value from a set-valued or single-valued attribute (including application-defined attributes) of a
directory. If you do not specify a value, the command removes the entire attribute. This command can delete attributes created by the add
directory and set directory commands. Usually this task is performed through the client application. See the OSF DCE Administration Guide
for more information about attributes.
Privilege Required
You must have write permission to the directory.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
To remove the value 1 from the user-defined, set-valued attribute dirregion of a directory named /.:/sales, follow these steps: Read the
cds_attributes file to check that the attribute dirregion is listed, as shown in the following display:
OID LABEL SYNTAX 1.3.22.1.3.66 dirregion small Enter the following command to remove the value 1 from the
attribute dirregion. cdscp> remove directory /.:/sales dirregion = 1
RELATED INFORMATION
Commands: add directory(1m), list directory(1m), set directory(1m), set directory to skulk(1m), show directory(1m)
Books: OSF DCE Administration Guide
remove directory(1m)