Help with trace file


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help with trace file
# 1  
Old 08-02-2012
Help with trace file

Hi,
I am an oracle DBA pretty new to unix. We had one of the filesystems full and a colleague cleared some stuffs to create more space. I just checked now and found there is now more space available. How do i find exactly what he cleared? We have oracle database installed and its a RAC environment. I set environment to one of the instance and checked the path for our ORA_ALERT doing:

tail **full path**/bdump/alert_BC2.log

After i did this, i didnt really find anything similar to what he did. Can someone please help?
# 2  
Old 08-02-2012
Hi,

did your colleague made space-cleaning via Oracle (i.e. by shrinking datafiles, removing old RMAN backups, etc.) or did he operated via operating system commands (i.e. deleting filesystem files, etc.)?

see ya
fra
# 3  
Old 08-02-2012
I am not sure. What i think is he either removed some old logs or deleted maybe a core file or probabaly searched for any large file in that directory.
# 4  
Old 08-02-2012
ok so, if he made the search and removal job via command line there is a chance his commands are still recorded into the history file.
if you share the same operating system login account on the machine you could try with a
Code:
history | more

command in order to see previous commands, otherwise try to look for history files in his login user's home directory - history file location and presence may vary depending on the shells used and on the OS environment setting, but you can start by searching his homedir with a command like
Code:
ls -laR | more

and look for some file with 'history' in the name, and once you find it you can read it with 'more' command.

see ya
fra
# 5  
Old 08-05-2012
Thanks Frappa. We share the same login and checking history as you said was helpful. Thanks for your help
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Some trace file to track timings of a process

I will initiate a process from Server1 and the flow is as follow Server1 --> Web server --> Application server --> DB Server Note all seperate unix servers. Now I need to put a trace for that process to track the timings from each server. Like the below trace should be there: ... (5 Replies)
Discussion started by: saraperu
5 Replies

2. UNIX for Beginners Questions & Answers

awk script to find repeated IP adress from trace file (.tr)

+ 8.00747 /NodeList/0/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Enqueue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 DSCP Default ECN Not-ECT ttl 63 id 0 protocol 17 offset (bytes) 0 flags length: 540 10.1.3.3 > 10.1.2.4) ns3::UdpHeader (length: 520 49153 >... (11 Replies)
Discussion started by: Nipa
11 Replies

3. AIX

Trace su to root

Hi, is it possible to trace everything about user that changes from its own user to root user, failed and successful attempts (I would need user and IP address of user that was trying to do that)? I tried adding auth.notice and auth.info in syslog.conf but it only tracks user withoud IP... (6 Replies)
Discussion started by: sprehodec
6 Replies

4. Shell Programming and Scripting

Help with filtering trace file through grep

Hi, I am using NS2 and i need to filter a trace file (part of which is shown below): - 33.91576 2 3 tcp 1040 ------- 1 0.0 4.0 1115 2258 r 33.918907 4 3 ack 40 ------- 1 4.0 0.0 1107 2272 + 33.918907 3 2 ack 40 ------- 1 4.0 0.0 1107 2272 - 33.918907 3 2 ... (5 Replies)
Discussion started by: saqibshah
5 Replies

5. AIX

How to trace file sytem size change?

I need write a script to trace filesystem size change, such as /home will increase some size and then release some space. I don't know when increase happen. I want to get the size before increase and the size after release. How to write this script? (1 Reply)
Discussion started by: rainbow_bean
1 Replies

6. Solaris

Log Trace

Hi I would like to display only error messages from my log files while monotring application on my solaris box using tail command. Is there other way we can monitor please let me know? In general # tail -f "xyz.log' ---> this will display current activity of the logs, instead i would like... (4 Replies)
Discussion started by: gkrishnag
4 Replies

7. HP-UX

How to trace a user

on HP-Unix how can i trace user for example "xxx999" ? (4 Replies)
Discussion started by: salhoub
4 Replies

8. IP Networking

trace route ip

hi everybody , i have a solaris 5.6 box and i want to trace the route on an ip i treid traceroute but soalris 5.6 does not support it ... is there a command that can be used equivelent to traceroute ? thanks for your help (2 Replies)
Discussion started by: ppass
2 Replies

9. Programming

Core file without a readable stack trace

I am using gdb to examine a core file but the output contains only the method addresses in hex. Is there anyway to translate these addresses to a human-readable form? :confused: (0 Replies)
Discussion started by: ciregbu
0 Replies

10. UNIX for Advanced & Expert Users

Trace connections

In my organization in order for anyone to go to any Unix server they have to go through "SERVER A" and login as themselves. Then people are free to go enywhere they please. For example: SERVER A, loggs in as himself telnets to SERVER B, loggs in as guest telnets to SERVER C, loggs in as... (8 Replies)
Discussion started by: jraitsev
8 Replies
Login or Register to Ask a Question