01-10-2014
thank you so much !!
Last edited by mohtashims; 01-10-2014 at 10:18 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi. What command can be used to determine the system
configuration. For example I want to find out how much CPU,
how much memory, what CPU and 233mhz or 400mhz, etc.
Please help.... (4 Replies)
Discussion started by: subhransu
4 Replies
2. UNIX for Dummies Questions & Answers
Hi Gurus!
I recently got my shell account (HP UX v11) created by our sysadmin and am having problem deleting with the backspace key.
After doing some reading, I believe I need to enter a custom "STTY..." statement in my profile.
Can someone please help me with the correct "STTY" sequence... (3 Replies)
Discussion started by: alan
3 Replies
3. UNIX for Dummies Questions & Answers
Okay here is a DOS comparison. When I search for a file in DOS and I was not sure what directory it was in then I would put dir /s/o/p filename the s would tell it to look in every directory including subs, the o would sort it alphabetically and the p would limit the display to one page at a... (1 Reply)
Discussion started by: wmosley2
1 Replies
4. Shell Programming and Scripting
Hello,
I create a file touch 1201093003 fichcomp
and inside a repertory (which hava a lot of files) I want to list all files created before this file :
find *.* \! -maxdepth 1 - newer fichcomp but this command returned bash: /usr/bin/find: Argument list too long
but i make a filter all... (1 Reply)
Discussion started by: yacsil
1 Replies
5. Shell Programming and Scripting
The purpose of those comands are to find the newest file in a directory acvrdind to system date, and it has to be recursively found in each directory.
The problem is that i want to list in a long format every found file, but the commands i use produce unexpected results ,so the output lists in a... (5 Replies)
Discussion started by: alexcol
5 Replies
6. Shell Programming and Scripting
i want to take the o/p of find command into a list like in java. can anyone help me regarding this. (10 Replies)
Discussion started by: dineshmurs
10 Replies
7. Shell Programming and Scripting
Hi All,
I need to list the files based modification time of the files from a directory, I cannot use "ls -t" as there are lot of files, which "ls" command cannot handle. New files will land there daily. So iam looking for an alternative through "find"command.
All suggestions are welcomed.
... (6 Replies)
Discussion started by: Kesavan
6 Replies
8. UNIX for Dummies Questions & Answers
hi,
i want to list the files from the below find commands output.
find ./* -name "*.txt" -type f -mtime +10
will give the output like
./a.txt
but i need the output in the format like (ls -lrt a.txt )
-rw-rw-rw- 1 srea nast 5 May 23 07:34 a.txt
i used xargs for the... (4 Replies)
Discussion started by: msathees
4 Replies
9. Shell Programming and Scripting
Hi Friends,
Can we have an alternate command to list last 1hour files with out FIND command?
Thanks
Suresh (6 Replies)
Discussion started by: suresh3566
6 Replies
10. Shell Programming and Scripting
I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation.
When I tried like below,
-bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation
-bash-4.1$ find ./ -name % Retail by State
find: paths must precede expression: Retail
Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies
LEARN ABOUT DEBIAN
prtdiag
prtdiag(1M) prtdiag(1M)
NAME
prtdiag - display system diagnostic information
SYNOPSIS
/usr/sbin/prtdiag [-v] [-l]
prtdiag displays system configuration and diagnostic information on sun4u and sun4v systems.
The diagnostic information lists any failed field replaceable units (FRUs) in the system.
The interface, output, and location in the directory hierarchy for prtdiag are uncommitted and subject to change in future releases.
prtdiag does not display diagnostic information and environmental status when executed on the Sun Enterprise 10000 server. See the
/var/opt/SUNWssp/adm/${SUNW_HOSTNAME}/messages file on the system service processor (SSP) to obtain such information for this server.
The following options are supported:
-l Log output. If failures or errors exist in the system, output this information to syslogd(1M) only.
-v Verbose mode. Displays the time of the most recent AC Power failure, and the most recent hardware fatal error information, and (if
applicable) environmental status. The hardware fatal error information is useful to repair and manufacturing for detailed diagnos-
tics of FRUs.
The following exit values are returned:
0 No failures or errors are detected in the system.
1 Failures or errors are detected in the system.
2 An internal prtdiag error occurred, for example, out of memory.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWkvm |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable* |
+-----------------------------+-----------------------------+
*The output is unstable.
modinfo(1M), prtconf(1M), psrinfo(1M), sysdef(1M), syslogd(1M), attributes(5), openprom(7D)
NOTES
Not all diagnostic and system information is available on every Solaris platforn, and therefore cannot be displayed by prtdiag. On those
platforms, further information can be obtained from the System Controller.
29 Aug 2005 prtdiag(1M)