10 More Discussions You Might Find Interesting
1. Red Hat
Scenario:
1. Log into a linux server interface as root.
2. Inititiate an SSH session with the server using Putty and a valid user account (e.g. fakeuser).
3. Log into TTY2 of the linux server interface using another valid user account (e.g. faketester).
Issue:
With these three login... (1 Reply)
Discussion started by: walterthered
1 Replies
2. Shell Programming and Scripting
I am trying to run following script in ksh on darwin 11.4.2:
freeSpace=2469606195
spaceNeeded=200
] && echo "no space" || echo "space available"
] && echo "no space" || echo "space available"
"-lt" is giving wrong answer as "no space" Whereas '<' works fine. When I change the freespace... (4 Replies)
Discussion started by: sabitha
4 Replies
3. Red Hat
Hi,
I am trying to find the number of cache misses that are caused by my code. The best way I could find was to use the perf command. After running command: perf stat dd if=/dev/zero of=/dev/null count=100, the output I got is:
1.812057 task-clock-msecs # 0.876 CPUs
... (0 Replies)
Discussion started by: fidelity
0 Replies
4. UNIX for Dummies Questions & Answers
I'm trying to count the number of directories in a folder but I don't want to count the sub directories.
So far I have this:
find -type d | wc -l
Is there a parameter to stop counting sub directories ?
Thanks (5 Replies)
Discussion started by: Ultima
5 Replies
5. Solaris
Is there a way to recover label?
I could install (sparc) Solaris again, but it would take a lot of time. (5 Replies)
Discussion started by: orange47
5 Replies
6. Solaris
I have created 1 LUN.
1)LUN 00BB 200GB /dev/rdsk/c1t3d44
/dev/rdsk/c2t28d44
/dev/rdsk/c3t19d44
/dev/rdsk/c4t12d44
2) Already added the new entry into sd.conf and rebooted.
3) Already done these:
powercf –q
power config
4) power display dev=all
I can see the new Symmetrix device.... (1 Reply)
Discussion started by: sirius20d
1 Replies
7. Filesystems, Disks and Memory
Whenever i run,
# fsck -F ufs /dev/dsk/c0t0d0s7
The following error prompt out:-
** /dev/dsk/c0t0d0s7
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck -o b=#
where # is the alternate super block. SEE fsck_ufs(1M).
... (3 Replies)
Discussion started by: beginningDBA
3 Replies
8. Solaris
/pci@if,0/pci@1,1/ide@3/dad@0,0 corrupt label wrong magic number
can u plz suggustion me (6 Replies)
Discussion started by: tirupathi
6 Replies
9. Filesystems, Disks and Memory
I had a power outage a day ago and when the power came back on my FreeBSD 4.6 webserver had problems. It said it was unable to mount /var and made me start in single user mode and said to run fsck MANUALY. So i did and this is now what i get.
www# fsck /dev/ad0s1e
** /dev/ad0s1e
BAD SUPER... (4 Replies)
Discussion started by: matthewbane
4 Replies
10. UNIX for Dummies Questions & Answers
Hi ,
I am using SUN OS Version 5.6.
I have a file that contains records of length 270. when I do 'set nu' in vi editor, I get the count as 86. whereas when I do "wc -l" on the command prompt, it shows the count as only 85. this is very strange. why would the 'wc' show 1 record less. The job... (3 Replies)
Discussion started by: tselvanin
3 Replies