07-17-2011
vakharia Mahesh no apologies please, you have not committed any sin. Just try to use CODE tags when necessary.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies
2. HP-UX
Hi,
I have been searching for a command that lists the total amount of memory in the HP-UX doc but haven't found it yet.
vmstat is not exactly what i want. Does the command exists on HP UX?
:confused: :confused: :confused: :confused: :confused: (4 Replies)
Discussion started by: beginer
4 Replies
3. UNIX for Dummies Questions & Answers
Ok, another fun hiccup in my UNIX learning curve. I am trying to count the number of occurrences of an IP address across multiple files named example.hits. I can extract the number of occurrences from the files individually but when you use grep -c with multiple files you get the output similar to... (5 Replies)
Discussion started by: MrAd
5 Replies
4. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
5. UNIX for Dummies Questions & Answers
I am trying to get this to display vertically like in a table but it keeps jumping to a new line
dev=$(df -h | grep ^/dev | cut -d " " -f1)
dev1=$(df -h | grep ^/dev | cut -f 2 -d "%")
dev2=$(df -h | grep ^/dev | cut -f 14-16 -d " ")
dev3=$(df -h | grep ^/dev | cut -f 18-20 -d " ")... (1 Reply)
Discussion started by: gjanisse
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Silly question, if I have an excel file that looks something like this:
................. Subject 1 Subject 2 Subject 3 Subject 4
Fever..............13...........9.............23..........14
Headache.........2............12...........18..........23... (3 Replies)
Discussion started by: Xterra
3 Replies
7. UNIX for Dummies Questions & Answers
dear all,
i'm new to unix and i try to figure out the best case for making list of vertical text to become horizontal and skip the line 1 and 2.
example text :
Data DATE XXXXX
MAX
47
53
49
51
48
48
7
46
51
8
25 (6 Replies)
Discussion started by: andrisetia
6 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Could you please help to resolve my following issues:
Problem Description:
Suppose my user name is "MI90".
i.e. $USER = MI90
when i run below command, i get all the processes running on the system containing name MQ.
ps -ef | grep MQ
But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
8 Replies
9. Shell Programming and Scripting
51009
8746
8912
17986
20315
24998
5368
38934
7805
8566 (4 Replies)
Discussion started by: nikhil jain
4 Replies
LEARN ABOUT SUSE
journal_get_undo_access
JOURNAL_GET_UNDO_ACC(9) The Linux Journalling API JOURNAL_GET_UNDO_ACC(9)
NAME
journal_get_undo_access - Notify intent to modify metadata with non-rewindable consequences
SYNOPSIS
int journal_get_undo_access(handle_t * handle, struct buffer_head * bh);
ARGUMENTS
handle
transaction
bh
buffer to undo
DESCRIPTION
Sometimes there is a need to distinguish between metadata which has been committed to disk and that which has not. The ext3fs code uses
this for freeing and allocating space, we have to make sure that we do not reuse freed space until the deallocation has been committed,
since if we overwrote that space we would make the delete un-rewindable in case of a crash.
To deal with that, journal_get_undo_access requests write access to a buffer for parts of non-rewindable operations such as delete
operations on the bitmaps. The journaling code must keep a copy of the buffer's contents prior to the undo_access call until such time as
we know that the buffer has definitely been committed to disk.
We never need to know which transaction the committed data is part of, buffers touched here are guaranteed to be dirtied later and so will
be committed to a new transaction in due course, at which point we can discard the old committed data pointer.
Returns error number or 0 on success.
AUTHORS
Roger Gammans <rgammans@computer-surgery.co.uk>
Author.
Stephen Tweedie <sct@redhat.com>
Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 JOURNAL_GET_UNDO_ACC(9)