8 More Discussions You Might Find Interesting
1. HP-UX
My project: i want to migrate from a vg00(actual 75GB disk) to a new vg01 (300GB disk),hpux is 11.31 on itanium efi system.
vg00 is disk0
vg01 is disk8
I did this
#check disk dimension
diskinfo -b /dev/rdisk/disk0_p2 | awk '{print $1/1024}'
#create a part file
vi /tmp/partition
3
EFI... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
2. Shell Programming and Scripting
How do you write a shell script to compare records with the same fields then keep the biggeer id number fields (field separate by a pipe)
1150| San Jose|8|15|7|2013-02-19 00:00:00.000|2013-02-20 00:00:00.000
1263|San Jose|8|15|7|2013-02-19 00:00:00.000|2013-02-20 00:00:00.000... (4 Replies)
Discussion started by: sabercats
4 Replies
3. Shell Programming and Scripting
Hi everybody,
I am a complete novice and please forgive if its answered gazillion times
I have a file which looks like this
1 0 2 0 0 0 0 0
0 3 0 1 18 2 6 0
1 7 0 2 4 0 0 0
1 17 16 1 1 0 0
I have to add... (4 Replies)
Discussion started by: amits22
4 Replies
4. HP-UX
hi everybody,
i know my question is maybe stupid, but see this
sr597:#/ipos# du -ks
6994419 .
sr597:#/ipos# bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2097152 482448 1602192 23% /
if i do du-ks its about 7gb, but it supposed due to the next... (0 Replies)
Discussion started by: pabloli150
0 Replies
5. Programming
Hi,
I've created a simple application that is supposed to fill up a file with messages up
to the size I pass as parameter.
The problem is that once the file reaches the 2GB size, it stops growing.
The flow of the application, for what is worth, is as follows:
while ( bytes written <... (7 Replies)
Discussion started by: emitrax
7 Replies
6. Solaris
Hello,
I just cloned a 80 GB HDD(running Solaris 10) to an 320 GB HDD using g4u disk-to-disk method.
Now Solaris is seeing may 320 GB HDD like 80 GB. Exactly like the old one.
Could you tell me, please, how do I convince Solaris that my HDD is bigger? I would like to keep all slices as... (5 Replies)
Discussion started by: mirciulicai
5 Replies
7. Shell Programming and Scripting
find /base/directory -size +2048M > /tmp/tempfile
1] is there an option to specify the size in Gb
2] the output lists files with size such as:
1152157
(doing ls -l so I guess it is in bytes) So I am missing something here because this file has a size below 2 Gb.
Any hints??
thx. (3 Replies)
Discussion started by: melanie_pfefer
3 Replies
8. UNIX for Dummies Questions & Answers
Hey!
Iam going to set up a bigger LAN.Server have 4 network adapters.
-----------*0----------
| |
| |
----*1-----*2-----*3-
Network adapret *0 will be for DSL,
*1 for like 30 computers windows xp installed on,*1 will have to... (1 Reply)
Discussion started by: net555
1 Replies
AUSEARCH_ADD_expression(3) Linux Audit API AUSEARCH_ADD_expression(3)
NAME
ausearch_add_expression - build up search expression
SYNOPSIS
#include <auparse.h>
int ausearch_add_expression(auparse_state_t *au, const char *expression, char **error, ausearch_rule_t how);
DESCRIPTION
ausearch_add_item adds an expression to the current audit search expression. The search conditions can then be used to scan logs, files,
or buffers for something of interest. The expression parameter contains an expression, as specified in ausearch-expression(5).
The how parameter determines how this search expression will affect the existing search expression, if one is already defined. The possi-
ble values are:
AUSEARCH_RULE_CLEAR
Clear the current search expression, if any, and use only this search expression.
AUSEARCH_RULE_OR
If a search expression E is already configured, replace it by (E || this_search_expression).
AUSEARCH_RULE_AND
If a search expression E is already configured, replace it by (E && this_search_expression).
RETURN VALUE
If successful, ausearch_add_expression returns 0. Otherwise, it returns -1, sets errno and it may set *error to an error message; the
caller must free the error message using free(3). If an error message is not available or can not be allocated, *error is set to NULL.
SEE ALSO
ausearch_add_item(3), ausearch_add_interpreted_item(3), ausearch_add_timestamp_item(3), ausearch_add_regex(3), ausearch_set_stop(3), ause-
arch_clear(3), ausearch_next_event(3), ausearch-expression(5).
AUTHOR
Miloslav Trmac
Red Hat Feb 2008 AUSEARCH_ADD_expression(3)