08-08-2008
Smells like homework.
Looks like homework.
Feels like homework.
Reads like homework.
It must be homework.
And as a personal remark: Please skip the "URGENT", kid. Most of us are hard working professionals. We have schedules to meet, work to do, families to sustain, kids to raise and only then find time to answer questions. If you want to have your questions answered immediately call 1-800-HIRE-A-UNIX-PROFESSIONAL-FOR-GOOD-MONEY.
-closed-
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
1. How do we know what is my machine name and what is its IP address? (in Solaris)
2. If i want to know the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris) then what command i have to look. (5 Replies)
Discussion started by: dreams5617
5 Replies
2. Shell Programming and Scripting
I am getting data like this in a flat file
seg No
Test A4 0000002595, A2, test ,Datatest
Test, A1 0000002595, A1,SELF , Employed,1,2,3,400.50
Test, A2 0000002595, A2, test ,Data,eurp
Test, A3 0000002595, A2, test ,Data
I need to produce a flat file so that output file... (0 Replies)
Discussion started by: nikeng
0 Replies
3. Shell Programming and Scripting
hi experts,
i'm new in scripting unix i have some problem with my script below is shown my script :
#!/bin/sh
BASEDIR=/export/home/mapadm
BINDIR=$BASEDIR/bin
LOGDIR=$BASEDIR/log
TDRDIR=$LOGDIR/TDR
BACKUPDIR=/data/log
export BASEDIR BINDIR LOGDIR TDRDIR BACKUPDIR
YEAR=`date '+%Y'`... (21 Replies)
Discussion started by: bucci
21 Replies
4. HP-UX
Hi,
I'm new to unix and i'm using HP Unix
I tried the following and getting error like
1. $sam
sh:sam not found
2.Also i want to monitor/trace other user's command what they are using when am in to the same server
Appreciate if any one help on this (4 Replies)
Discussion started by: msgobinathan
4 Replies
5. Shell Programming and Scripting
Hi all,
I am having putty in my system.But I dont have access to any UNIX Servers.Is there any default or common UNIX Server so that anyone can access and be familiar with UNIX and Shell scripting.
I want to work and practice in UNIX..Thats why I am asking this question.
Kindly give me... (2 Replies)
Discussion started by: dave_nithis
2 Replies
6. Shell Programming and Scripting
hey guys,
I have a few general qns, so I'd appreciate quick responses.
1. How do u read a file line by line and display its contents using KSH?
2. How to kill a process using only the name?
3. How to create an empty file with 1MB memory size?
4. How to append some content to an existing... (3 Replies)
Discussion started by: sasuke_uchiha
3 Replies
7. Solaris
hi everyone there is some qns i would like to ask abt swap space. lets say i have a host computer which is running solaris and has 18 disks which adds up to 9.9tb. the qns i would like to ask is that does all the 18 disks need to have a swap space partition or do i just create a swap space... (3 Replies)
Discussion started by: redemption
3 Replies
8. UNIX for Dummies Questions & Answers
Yesterday evening my server appeared to fall over. I couldn't copy (scp) files to it, and I couldn't SSH to it either. Every time I tried, it just gave me this message:
Read from remote host <IP ADDRESS>: Connection reset by peer
Connection to <IP ADDRESS> closed.
I got in this morning, and... (4 Replies)
Discussion started by: Dave Stockdale
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I am relatively new to the world of programming in general and to the UNIX System in particular. I have a bunch of theoretical questions related to terminology which I have come across in my coursebooks. I hope I post my question at the right place. Any help would be warmly welcome!
... (1 Reply)
Discussion started by: feliks0
1 Replies
10. What is on Your Mind?
Dear All,
Please read version Version 0.81 28 May 2018 of our draft
UNIX.COM General Data Privacy Regulations (GDPR) Compliance.
If you have any data privacy questions or concerns, or would like to see us address any other data privacy topic related to your personal data at UNIX.COM,... (12 Replies)
Discussion started by: Neo
12 Replies
CRASH(L) CRASH(L)
NAME
crash - analyze kernel dump or active system image
SYNOPSIS
crash [ aps ] [ -bdvtiz ] [ -s sfile ] [ -c cfile ] [ -u addr ]
DESCRIPTION
Synopsis of options -
-b Brief mode; skip general display of processes
-d Crash dump contains swap image. (default?)
-v Verbose; dump much information about each proc [future]
-t TTY structs to be dumpped
-i Incore inode table to be printed
-c FILE Provide non-standard file name for system image input
-s FILE Provide non-standard symboltable input
-u ADDR Trace a process other than currently selected one
-z Interrupt Trace displayed
aps Print PS & PC at time of interupt (doesn't do anything)
crash examines a dump of unix which it looks for in the file sysdump. It prints out the contents of the general registers, the kernel
stack and a traceback through the kernel stack. If an aps is specified, the ps and pc at time of interrupt are also printed out. The dump
of the stack commences from a "reasonable" address and all addresses are relocated to virtual addresses by using the value of kdsa6 found
in the dump.
The following options may be specified.
-b Brief mode; skip general display of processes. Only the currently selected process will be traced.
-c cfile
If the -c argument is found, the following argument is taken to be the name of a file containing the system image. The default is
"/usr/sys/core".
-s sfile
If the -s argument is found the following argument is taken to be the name of a file, containing a symbol table which should be used
in interpreting text addresses. The default is "/unix".
-u addr
Force a process to be displayed as if it were active when the crash occurred. addr is the octal address of the proc table entry.
FILES
/unix system namelist
/dev/swap swap device
/usr/sys/core core file
SEE ALSO
crash(8), adb(1), ps(1), rstat(1)
DIAGNOSTICS
Missing arg Unable to Open file Format Error in symbolfile
BUGS
Care should be used in running crash on "/dev/mem". Things can change while crash is running; the picture it gives is only a close approx-
imation to reality.
AUTHOR
Mike Muuss, JHU EE
John Stewart, Teledyne Geotech
March 1983 CRASH(L)