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_TIMESTAMP_ITEM(3) Linux Audit API AUSEARCH_ADD_TIMESTAMP_ITEM(3)
NAME
ausearch_add_timestamp_item - build up search rule
SYNOPSIS
#include <auparse.h>
int ausearch_add_timestamp_item(auparse_state_t *au, const char *op, time_t sec, unsigned milli, ausearch_rule_t how)
DESCRIPTION
ausearch_add_timestamp_item adds an event time condition to the current audit search expression. The search conditions can then be used to
scan logs, files, or buffers for something of interest. The op parameter specifies the desired comparison. Legal op values are <, <=, >=, >
and =. The left operand of the comparison operator is the timestamp of the examined event, the right operand is specified by the sec and
milli parameters.
The how value determines how this search condition will affect the existing search expression if one is already defined. The possible val-
ues are:
AUSEARCH_RULE_CLEAR
Clear the current search expression, if any, and use only this search condition.
AUSEARCH_RULE_OR
If a search expression E is already configured, replace it by (E || this_search_condition).
AUSEARCH_RULE_AND
If a search expression E is already configured, replace it by (E && this_search_condition).
RETURN VALUE
Returns -1 if an error occurs; otherwise, 0 for success.
APPLICATION USAGE
Use ausearch_add_item(3) and ausearch_add_interpreted_item(3) to add conditions that check audit record fields. Use ausearch_add_expres-
sion(3) to add complex search expressions using a single function call.
SEE ALSO
ausearch_add_expression(3), ausearch_add_item(3), ausearch_add_interpreted_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 Nov 2007 AUSEARCH_ADD_TIMESTAMP_ITEM(3)