10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello there,
I'm using a read-while loop to preserve the word Failed within a text file. For example, if the word Failed exist twice in a single text file, my STDOUT should re-direct to a new text file and display Failed twice.
My output is attached to this thread. I would like output to... (4 Replies)
Discussion started by: SysAdminRialto
4 Replies
2. UNIX Desktop Questions & Answers
Hi,
Today i have seen a file which shows nothing when i use cat/tac.
But when i use vi it displays a single line at the top.
There are no other lines. I am curious why cat/tac doesn't display that line and only vi does?
Any thoughts?
Thanks in advance, (1 Reply)
Discussion started by: pandeesh
1 Replies
3. Shell Programming and Scripting
I need to print out text from a file in the console up, you know someone like that? (8 Replies)
Discussion started by: gizmo16
8 Replies
4. Solaris
when i use ls command it works normal but when i using additional parameter with ls like ls -l , ls -a... it shows a error followed by the output.
# ls -l
./hgfs: Operation not applicable
total 12861
-rw-r--r-- 1 root root 0 Jun 1 21:12 1
drwxr-xr-x 2 root root ... (4 Replies)
Discussion started by: chidori
4 Replies
5. Shell Programming and Scripting
Greetings.
I have files that contains eleven fields in the file name. Each file has a specific meaning. My job is to list each file name and load the info into a database table for reporting.
My awk code does this (files have VER suffix):
find . -name "*.VER" -exec ls '{}' ';' -printf... (2 Replies)
Discussion started by: alan
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
ls -l displays the long listing of a file in 8 fields.
Query:
------
Does ls -l display the filename size in KB or MB or GB?
-rwxrwxr-x 1 xx dba 655 May 22 06:27 time
Here 655 is KB or MB or GB?
Many thanks. (2 Replies)
Discussion started by: venkatesht
2 Replies
7. Solaris
A new x86 server was installed with 16G of memory. The swap space assigned in the prtvtoc is also 16G. But after the installation of the OS and verifying, noticed df -k output for swap shows as 30G. Other systems do not have this characteristic. Whats wrong in here?:eek: (4 Replies)
Discussion started by: incredible
4 Replies
8. UNIX for Dummies Questions & Answers
hey, I'm trying to create the command that will create a file named user.txt that contains the output of the command cut -d: -f1,5 /etc/passwd, and displays itself afterwards.
I don't know how to bridge cat > user.txt with cut -d: -f1,5 /etc/passwd, or how display it afterwards. Any help would... (2 Replies)
Discussion started by: raidkridley
2 Replies
9. HP-UX
Hello All!
Where I work we have C3600's that have a video cards that have both DVI and Regular RBG type monitor ports on them. My question is: is it possible to spread my desktop across two monitors that are plugged into the one card much like you can do with NVIDIA software like NVIEW for... (0 Replies)
Discussion started by: giftedone
0 Replies
10. UNIX for Dummies Questions & Answers
I have a TV and a monitor hooked up to my box. Right now the system is displaying all the information on the TV instead of the monitor, obviously I want to switch this, as the TV is very impracticle for everything other than watching movies.
I thought I remembered a command I used to use that... (2 Replies)
Discussion started by: Synbios
2 Replies
VM_STAT(1) BSD General Commands Manual VM_STAT(1)
NAME
vm_stat -- show Mach virtual memory statistics
SYNOPSIS
vm_stat [interval]
DESCRIPTION
vm_stat displays Mach virtual memory statistics. If the optional interval is specified, then vm_stat will display the statistics every
interval seconds. In this case, each line of output displays the change in each statistic (an interval count of 1 displays the values per
second). However, the first line of output following each banner displays the system-wide totals for each statistic. The following values
are displayed:
Pages free
the total number of free pages in the system.
Pages active
the total number of pages currently in use and pageable.
Pages inactive
the total number of pages on the inactive list.
Pages wired down
the total number of pages wired down. That is, pages that cannot be paged out.
Translation faults
the number of times the "vm_fault" routine has been called.
Pages copy-on-write
the number of faults that caused a page to be copied (generally caused by copy-on-write faults).
Pages zero filled
the total number of pages that have been zero-filled on demand.
Pages reactivated
the total number of pages that have been moved from the inactive list to the active list (reactivated).
Pageins
the number of requests for pages from a pager (such as the inode pager).
Pageouts
the number of pages that have been paged out.
If interval is not specified, then vm_stat displays all accumulated statistics along with the page size and the object cache performance.
Mac OS August 13, 1997 Mac OS