How to find files accessed by a process

How can I find the list of files accessed by an OS process, if I know the process ID (such as 22504)?
Thanks.

Hi,
Executed the followings
[oracle@sys proc]$ ls -l /proc/2916/fd
total 0
lr-x------ 1 oracle oinstall 64 Mar 10 11:07 0 -> /dev/null
l-wx------ 1 oracle oinstall 64 Mar 10 11:07 1 -> /dev/null
lrwx------ 1 oracle oinstall 64 Mar 10 11:07 10 -> /u01/app/oracle/oradata/orcl/users01.dbf
lrwx------ 1 oracle oinstall 64 Mar 10 11:07 11 -> /u01/app/oracle/oradata/orcl/sysaux01.dbf
l-wx------ 1 oracle oinstall 64 Mar 10 11:07 12 -> pipe:[12596]
lrwx------ 1 oracle oinstall 64 Mar 10 11:07 13 -> /u01/app/oracle/oradata/orcl/undotbs2.dbf
lrwx------ 1 oracle oinstall 64 Mar 10 11:07 14 -> /u01/app/oracle/oradata/orcl/control01.ctl
lrwx------ 1 oracle oinstall 64 Mar 10 11:07 15 -> /u01/app/oracle/oradata/orcl/control02.ctl
lrwx------ 1 oracle oinstall 64 Mar 10 11:07 16 -> /u01/app/oracle/oradata/orcl/control03.ctl
lrwx------ 1 oracle oinstall 64 Mar 10 11:07 17 -> /u01/app/oracle/oradata/orcl/undotbs01.dbf
lrwx------ 1 oracle oinstall 64 Mar 10 11:07 18 -> /u01/app/oracle/oradata/orcl/users01.dbf
l-wx------ 1 oracle oinstall 64 Mar 10 11:07 2 -> /dev/null
lr-x------ 1 oracle oinstall 64 Mar 10 11:07 3 -> /dev/null
lr-x------ 1 oracle oinstall 64 Mar 10 11:07 4 -> /dev/null
lr-x------ 1 oracle oinstall 64 Mar 10 11:07 5 -> /u01/app/oracle/rdbms/mesg/oraus.msb
lr-x------ 1 oracle oinstall 64 Mar 10 11:07 6 -> /dev/null
lr-x------ 1 oracle oinstall 64 Mar 10 11:07 7 -> /dev/zero
lrwx------ 1 oracle oinstall 64 Mar 10 11:07 8 -> /u01/app/oracle/oradata/orcl/system01.dbf
lr-x------ 1 oracle oinstall 64 Mar 10 11:07 9 -> pipe:[12595]
what is the meaning of /dev/null ,dev,zero ,pipe and  /u01/app/oracle/rdbms/mesg/oraus.msb.
2,
lsof -p 2916
[oracle@sys proc]$ lsof -p 2916
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
oracle 2916 oracle cwd DIR 8,1 4096 1663373 /u01/app/oracle/dbs
oracle 2916 oracle rtd DIR 8,1 4096 2 /
oracle 2916 oracle txt REG 8,1 152028754 1666300 /u01/app/oracle/bin/oracle
oracle 2916 oracle mem REG 8,1 73448 1692527 /u01/app/oracle/lib/libclsra11.so
oracle 2916 oracle mem REG 8,1 999087 1692523 /u01/app/oracle/lib/libocr11.so
oracle 2916 oracle mem REG 8,1 1607575 1692524 /u01/app/oracle/lib/libocrb11.so
oracle 2916 oracle mem REG 8,1 119187 1692525 /u01/app/oracle/lib/libocrutl11.so
oracle 2916 oracle mem REG 8,1 16528 915285 -2.5.so
oracle 2916 oracle mem REG 8,1 9779 1669171 /u01/app/oracle/lib/libskgxn2.so
oracle 2916 oracle mem REG 8,1 208344 915291 /lib/libm-2.5.so
oracle 2916 oracle mem REG 8,1 125564 915286 /lib/libpthread-2.5.so
oracle 2916 oracle mem REG 8,1 101036 915297 /lib/libnsl-2.5.so
oracle 2916 oracle mem REG 8,1 1576952 915284 /lib/libc-2.5.so
oracle 2916 oracle mem REG 8,1 46740 913065 /lib/libnss_files-2.5.so
oracle 2916 oracle mem REG 8,1 45632 1692581 /u01/app/oracle/lib/libnque11.so
oracle 2916 oracle mem CHR 1,5 1107 /dev/zero
oracle 2916 oracle mem REG 8,1 134301 1668685 /u01/app/oracle/lib/libdbcfg11.so
oracle 2916 oracle mem REG 8,1 121684 915283 /lib/ld-2.5.so
oracle 2916 oracle mem REG 8,1 5839373 1692605 /u01/app/oracle/lib/libnnz11.so
oracle 2916 oracle mem REG 8,1 2312298 1692526 /u01/app/oracle/lib/libhasgen11.so
oracle 2916 oracle mem REG 8,1 274114 1684199 /u01/app/oracle/lib/libskgxp11.so
oracle 2916 oracle mem REG 8,1 44088 915287 /lib/librt-2.5.so
oracle 2916 oracle mem REG 8,1 2664 4117993 /usr/lib/libaio.so.1.0.1
oracle 2916 oracle mem REG 0,19 4194304 8780 /dev/shm/ora_orcl_425994_0
oracle 2916 oracle mem REG 0,19 4194304 8781 /dev/shm/ora_orcl_425994_1
oracle 2916 oracle mem REG 0,19 0 8782 /dev/shm/ora_orcl_425994_2
oracle 2916 oracle mem REG 0,19 0 8783 /dev/shm/ora_orcl_425994_3
oracle 2916 oracle mem REG 0,19 0 8784 /dev/shm/ora_orcl_425994_4
oracle 2916 oracle mem REG 0,19 0 8785 /dev/shm/ora_orcl_425994_5
oracle 2916 oracle mem REG 0,19 0 8786 /dev/shm/ora_orcl_425994_6
oracle 2916 oracle mem REG 0,19 0 8787 /dev/shm/ora_orcl_425994_7
oracle 2916 oracle mem REG 0,19 0 8788 /dev/shm/ora_orcl_425994_8
oracle 2916 oracle mem REG 0,19 0 8789 /dev/shm/ora_orcl_425994_9
oracle 2916 oracle mem REG 0,19 0 8790 /dev/shm/ora_orcl_425994_10
oracle 2916 oracle mem REG 0,19 0 8791 /dev/shm/ora_orcl_425994_11
oracle 2916 oracle mem REG 0,19 0 8792 /dev/shm/ora_orcl_425994_12
oracle 2916 oracle mem REG 0,19 0 8793 /dev/shm/ora_orcl_425994_13
oracle 2916 oracle mem REG 0,19 0 8794 /dev/shm/ora_orcl_425994_14
oracle 2916 oracle mem REG 0,19 0 8795 /dev/shm/ora_orcl_425994_15
oracle 2916 oracle mem REG 0,19 0 8796 /dev/shm/ora_orcl_425994_16
oracle 2916 oracle mem REG 0,19 0 8797 /dev/shm/ora_orcl_425994_17
oracle 2916 oracle mem REG 0,19 0 8798 /dev/shm/ora_orcl_425994_18
oracle 2916 oracle mem REG 0,19 0 8799 /dev/shm/ora_orcl_425994_19
oracle 2916 oracle mem REG 0,19 0 8800 /dev/shm/ora_orcl_425994_20
oracle 2916 oracle mem REG 0,19 0 8801 /dev/shm/ora_orcl_425994_21
oracle 2916 oracle mem REG 0,19 0 8802 /dev/shm/ora_orcl_425994_22
oracle 2916 oracle mem REG 0,19 0 8803 /dev/shm/ora_orcl_425994_23
oracle 2916 oracle mem REG 0,19 0 8804 /dev/shm/ora_orcl_425994_24
oracle 2916 oracle mem REG 0,19 0 8805 /dev/shm/ora_orcl_425994_25
oracle 2916 oracle mem REG 0,19 0 8806 /dev/shm/ora_orcl_425994_26
oracle 2916 oracle mem REG 0,19 0 8807 /dev/shm/ora_orcl_425994_27
oracle 2916 oracle mem REG 0,19 0 8808 /dev/shm/ora_orcl_425994_28
oracle 2916 oracle mem REG 0,19 0 8809 /dev/shm/ora_orcl_425994_29
oracle 2916 oracle mem REG 0,19 0 8810 /dev/shm/ora_orcl_425994_30
oracle 2916 oracle mem REG 0,19 0 8811 /dev/shm/ora_orcl_425994_31
oracle 2916 oracle mem REG 0,19 0 8812 /dev/shm/ora_orcl_425994_32
oracle 2916 oracle mem REG 0,19 0 8813 /dev/shm/ora_orcl_425994_33
oracle 2916 oracle mem REG 0,19 0 8814 /dev/shm/ora_orcl_425994_34
oracle 2916 oracle mem REG 0,19 0 8815 /dev/shm/ora_orcl_425994_35
oracle 2916 oracle mem REG 0,19 0 8816 /dev/shm/ora_orcl_425994_36
oracle 2916 oracle mem REG 0,19 4194304 8817 /dev/shm/ora_orcl_425994_37
oracle 2916 oracle mem REG 0,19 4194304 8818 /dev/shm/ora_orcl_425994_38
oracle 2916 oracle mem REG 0,19 4194304 8819 /dev/shm/ora_orcl_425994_39
oracle 2916 oracle mem REG 0,19 4194304 8820 /dev/shm/ora_orcl_425994_40
oracle 2916 oracle mem REG 0,19 4194304 8821 /dev/shm/ora_orcl_425994_41
oracle 2916 oracle mem REG 0,19 4194304 8822 /dev/shm/ora_orcl_425994_42
oracle 2916 oracle mem REG 0,19 4194304 8823 /dev/shm/ora_orcl_425994_43
oracle 2916 oracle mem REG 0,19 4194304 8824 /dev/shm/ora_orcl_425994_44
oracle 2916 oracle mem REG 0,19 4194304 8825 /dev/shm/ora_orcl_425994_45
oracle 2916 oracle mem REG 0,19 4194304 8826 /dev/shm/ora_orcl_425994_46
oracle 2916 oracle mem REG 0,19 4194304 8827 /dev/shm/ora_orcl_425994_47
oracle 2916 oracle mem REG 0,19 4194304 8828 /dev/shm/ora_orcl_425994_48
oracle 2916 oracle mem REG 0,19 4194304 8829 /dev/shm/ora_orcl_425994_49
oracle 2916 oracle mem REG 0,19 4194304 8830 /dev/shm/ora_orcl_425994_50
oracle 2916 oracle mem REG 0,19 4194304 8831 /dev/shm/ora_orcl_425994_51
oracle 2916 oracle mem REG 0,19 4194304 8832 /dev/shm/ora_orcl_425994_52
oracle 2916 oracle mem REG 0,19 4194304 8833 /dev/shm/ora_orcl_425994_53
oracle 2916 oracle mem REG 0,19 4194304 8834 /dev/shm/ora_orcl_425994_54
oracle 2916 oracle mem REG 0,19 4194304 8835 /dev/shm/ora_orcl_425994_55
oracle 2916 oracle mem REG 0,19 4194304 8836 /dev/shm/ora_orcl_425994_56
oracle 2916 oracle mem REG 0,19 4194304 8837 /dev/shm/ora_orcl_425994_57
oracle 2916 oracle mem REG 0,19 4194304 8838 /dev/shm/ora_orcl_425994_58
oracle 2916 oracle mem REG 0,19 4194304 8839 /dev/shm/ora_orcl_425994_59
oracle 2916 oracle mem REG 0,19 4194304 8840 /dev/shm/ora_orcl_425994_60
oracle 2916 oracle mem REG 0,19 4194304 8841 /dev/shm/ora_orcl_425994_61
oracle 2916 oracle mem REG 0,19 4194304 8842 /dev/shm/ora_orcl_425994_62
oracle 2916 oracle mem REG 0,19 4194304 8843 /dev/shm/ora_orcl_425994_63
oracle 2916 oracle mem REG 0,19 4194304 8844 /dev/shm/ora_orcl_425994_64
oracle 2916 oracle mem REG 0,19 4194304 8845 /dev/shm/ora_orcl_425994_65
oracle 2916 oracle mem REG 0,19 4194304 8846 /dev/shm/ora_orcl_425994_66
oracle 2916 oracle mem REG 0,19 4194304 8847 /dev/shm/ora_orcl_425994_67
oracle 2916 oracle mem REG 0,19 4194304 8848 /dev/shm/ora_orcl_425994_68
oracle 2916 oracle mem REG 0,19 4194304 8849 /dev/shm/ora_orcl_425994_69
oracle 2916 oracle mem REG 0,19 4194304 8850 /dev/shm/ora_orcl_425994_70
oracle 2916 oracle mem REG 0,19 4194304 8851 /dev/shm/ora_orcl_425994_71
oracle 2916 oracle mem REG 0,19 4194304 8852 /dev/shm/ora_orcl_425994_72
oracle 2916 oracle mem REG 0,19 4194304 8853 /dev/shm/ora_orcl_425994_73
oracle 2916 oracle mem REG 0,19 4194304 8854 /dev/shm/ora_orcl_425994_74
oracle 2916 oracle mem REG 0,19 4194304 8855 /dev/shm/ora_orcl_425994_75
oracle 2916 oracle mem REG 0,19 4194304 8856 /dev/shm/ora_orcl_425994_76
oracle 2916 oracle mem REG 0,19 4194304 8857 /dev/shm/ora_orcl_425994_77
oracle 2916 oracle mem REG 0,19 4194304 8858 /dev/shm/ora_orcl_425994_78
oracle 2916 oracle mem REG 0,19 4194304 8859 /dev/shm/ora_orcl_425994_79
oracle 2916 oracle mem REG 0,19 4194304 8860 /dev/shm/ora_orcl_425994_80
oracle 2916 oracle mem REG 0,19 4194304 8861 /dev/shm/ora_orcl_425994_81
oracle 2916 oracle mem REG 0,19 4194304 8862 /dev/shm/ora_orcl_425994_82
oracle 2916 oracle mem REG 0,19 4194304 8863 /dev/shm/ora_orcl_425994_83
oracle 2916 oracle mem REG 0,19 4194304 8864 /dev/shm/ora_orcl_425994_84
oracle 2916 oracle mem REG 0,19 4194304 8865 /dev/shm/ora_orcl_425994_85
oracle 2916 oracle mem REG 0,19 4194304 8866 /dev/shm/ora_orcl_425994_86
oracle 2916 oracle mem REG 0,19 4194304 8867 /dev/shm/ora_orcl_425994_87
oracle 2916 oracle mem REG 0,19 4194304 8868 /dev/shm/ora_orcl_425994_88
oracle 2916 oracle mem REG 0,19 4194304 8869 /dev/shm/ora_orcl_425994_89
oracle 2916 oracle mem REG 0,19 4194304 8870 /dev/shm/ora_orcl_425994_90
oracle 2916 oracle mem REG 0,19 4194304 8871 /dev/shm/ora_orcl_425994_91
oracle 2916 oracle mem REG 0,19 4194304 8872 /dev/shm/ora_orcl_425994_92
oracle 2916 oracle mem REG 0,19 4194304 8873 /dev/shm/ora_orcl_425994_93
oracle 2916 oracle mem REG 0,19 4194304 8874 /dev/shm/ora_orcl_425994_94
oracle 2916 oracle mem REG 0,19 4194304 8875 /dev/shm/ora_orcl_425994_95
oracle 2916 oracle mem REG 0,19 4194304 8876 /dev/shm/ora_orcl_425994_96
oracle 2916 oracle mem REG 0,19 4194304 8877 /dev/shm/ora_orcl_425994_97
oracle 2916 oracle mem REG 0,19 4194304 8878 /dev/shm/ora_orcl_425994_98
oracle 2916 oracle mem REG 0,19 4194304 8879 /dev/shm/ora_orcl_425994_99
oracle 2916 oracle mem REG 0,19 4194304 8880 /dev/shm/ora_orcl_425994_100
oracle 2916 oracle mem REG 0,19 4194304 8881 /dev/shm/ora_orcl_425994_101
oracle 2916 oracle mem REG 0,19 4194304 8882 /dev/shm/ora_orcl_425994_102
oracle 2916 oracle mem REG 0,19 4194304 8883 /dev/shm/ora_orcl_425994_103
oracle 2916 oracle mem REG 0,19 4194304 8884 /dev/shm/ora_orcl_425994_104
oracle 2916 oracle mem REG 0,19 4194304 8885 /dev/shm/ora_orcl_425994_105
oracle 2916 oracle mem REG 0,19 4194304 8886 /dev/shm/ora_orcl_425994_106
oracle 2916 oracle mem REG 0,19 4194304 8887 /dev/shm/ora_orcl_425994_107
oracle 2916 oracle mem REG 0,19 4194304 8888 /dev/shm/ora_orcl_425994_108
oracle 2916 oracle mem REG 0,19 4194304 8889 /dev/shm/ora_orcl_425994_109
oracle 2916 oracle mem REG 0,19 4194304 8890 /dev/shm/ora_orcl_425994_110
oracle 2916 oracle mem REG 0,19 4194304 8891 /dev/shm/ora_orcl_425994_111
oracle 2916 oracle mem REG 0,19 4194304 8892 /dev/shm/ora_orcl_425994_112
oracle 2916 oracle mem REG 0,19 4194304 8893 /dev/shm/ora_orcl_425994_113
oracle 2916 oracle mem REG 0,19 4194304 8894 /dev/shm/ora_orcl_425994_114
oracle 2916 oracle mem REG 0,19 4194304 8895 /dev/shm/ora_orcl_425994_115
oracle 2916 oracle mem REG 0,19 4194304 8896 /dev/shm/ora_orcl_425994_116
oracle 2916 oracle mem REG 0,19 4194304 8897 /dev/shm/ora_orcl_425994_117
oracle 2916 oracle mem REG 0,19 4194304 8898 /dev/shm/ora_orcl_425994_118
oracle 2916 oracle mem REG 0,19 4194304 8899 /dev/shm/ora_orcl_425994_119
oracle 2916 oracle mem REG 0,19 4194304 8900 /dev/shm/ora_orcl_425994_120
oracle 2916 oracle mem REG 0,19 4194304 8901 /dev/shm/ora_orcl_425994_121
oracle 2916 oracle mem REG 0,19 4194304 8902 /dev/shm/ora_orcl_425994_122
oracle 2916 oracle mem REG 0,19 4194304 8903 /dev/shm/ora_orcl_425994_123
oracle 2916 oracle mem REG 0,19 4194304 8904 /dev/shm/ora_orcl_425994_124
oracle 2916 oracle mem REG 0,19 4194304 8905 /dev/shm/ora_orcl_425994_125
oracle 2916 oracle mem REG 0,19 4194304 8906 /dev/shm/ora_orcl_425994_126
oracle 2916 oracle mem REG 0,19 4194304 8907 /dev/shm/ora_orcl_425994_127
oracle 2916 oracle mem REG 0,19 4194304 8908 /dev/shm/ora_orcl_425994_128
oracle 2916 oracle mem REG 0,19 4194304 8909 /dev/shm/ora_orcl_425994_129
oracle 2916 oracle mem REG 0,19 4194304 8910 /dev/shm/ora_orcl_425994_130
oracle 2916 oracle mem REG 0,19 4194304 8911 /dev/shm/ora_orcl_425994_131
oracle 2916 oracle mem REG 0,19 4194304 8912 /dev/shm/ora_orcl_425994_132
oracle 2916 oracle mem REG 0,19 4194304 8913 /dev/shm/ora_orcl_425994_133
oracle 2916 oracle mem REG 0,19 4194304 8914 /dev/shm/ora_orcl_425994_134
oracle 2916 oracle mem REG 0,19 4194304 8915 /dev/shm/ora_orcl_425994_135
oracle 2916 oracle mem REG 0,19 4194304 8916 /dev/shm/ora_orcl_425994_136
oracle 2916 oracle mem REG 0,19 4194304 8917 /dev/shm/ora_orcl_425994_137
oracle 2916 oracle mem REG 0,19 4194304 8918 /dev/shm/ora_orcl_425994_138
oracle 2916 oracle mem REG 0,19 4194304 8919 /dev/shm/ora_orcl_425994_139
oracle 2916 oracle mem REG 0,19 4194304 8920 /dev/shm/ora_orcl_425994_140
oracle 2916 oracle mem REG 0,19 4194304 8921 /dev/shm/ora_orcl_425994_141
oracle 2916 oracle mem REG 0,19 4194304 8922 /dev/shm/ora_orcl_425994_142
oracle 2916 oracle mem REG 0,19 4194304 8923 /dev/shm/ora_orcl_425994_143
oracle 2916 oracle mem REG 0,19 4194304 8924 /dev/shm/ora_orcl_425994_144
oracle 2916 oracle mem REG 0,19 4194304 8925 /dev/shm/ora_orcl_425994_145
oracle 2916 oracle mem REG 0,19 4194304 8926 /dev/shm/ora_orcl_425994_146
oracle 2916 oracle 0r CHR 1,3 1105 /dev/null
oracle 2916 oracle 1w CHR 1,3 1105 /dev/null
oracle 2916 oracle 2w CHR 1,3 1105 /dev/null
oracle 2916 oracle 3r CHR 1,3 1105 /dev/null
oracle 2916 oracle 4r CHR 1,3 1105 /dev/null
oracle 2916 oracle 5r REG 8,1 991744 1684149 /u01/app/oracle/rdbms/mesg/oraus.msb
oracle 2916 oracle 6r CHR 1,3 1105 /dev/null
oracle 2916 oracle 7r CHR 1,5 1107 /dev/zero
oracle 2916 oracle 8u REG 8,1 786440192 1793659 /u01/app/oracle/oradata/orcl/system01.dbf
oracle 2916 oracle 9r FIFO 0,6 12595 pipe
oracle 2916 oracle 10u REG 8,1 209395712 1793662 /u01/app/oracle/oradata/orcl/users01.dbf
oracle 2916 oracle 11u REG 8,1 783753216 1793660 /u01/app/oracle/oradata/orcl/sysaux01.dbf
oracle 2916 oracle 12w FIFO 0,6 12596 pipe
oracle 2916 oracle 13u REG 8,1 52436992 1173892 /u01/app/oracle/oradata/orcl/undotbs2.dbf
oracle 2916 oracle 14u REG 8,1 9748480 1793665 /u01/app/oracle/oradata/orcl/control01.ctl
oracle 2916 oracle 15u REG 8,1 9748480 1793666 /u01/app/oracle/oradata/orcl/control02.ctl
oracle 2916 oracle 16u REG 8,1 9748480 1793667 /u01/app/oracle/oradata/orcl/control03.ctl
oracle 2916 oracle 17u REG 8,1 78651392 1793661 /u01/app/oracle/oradata/orcl/undotbs01.dbf
oracle 2916 oracle 18u REG 8,1 209395712 1793662 /u01/app/oracle/oradata/orcl/users01.dbf
what is the meaning of /lib/libdl  or /dev/shm/
please anyone explain that

Similar Messages

  • How to find sql statement with Unix process pid

    Hi
    how to find sql statement with Unix process pid
    is there any view to find that.
    please if so let me know
    Thanks in advance

    this is how I am doing this:
    oracle 7352340 7459066 0 07:47:10 - 0:00 oracleJDERED (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oracle 7459066 5386396 2 07:47:10 pts/1 0:01 sqlplus
    select sid,serial# from v$session where process='7459066';
    SID SERIAL#
    2178 6067
    select sql_text
    from
    v$sqlarea a,
    v$session b
    where a.hash_value = b.sql_hash_value
    and b.sid = 2178
    ;

  • How to find files and subdirectories in a directory

    can anyone tell me how to find files and subdirectories in a directory .

    Here's a code snippet,
    http://javaalmanac.com/egs/java.io/TraverseTree.html

  • HT3231 how to find file after using migration

    how to find files after migration has finished

    If you don't have any file you need in your old account, open System Preferences > Users and Groups and delete the old user. If not, I recommend you to migrate your files of your old account to the new one using Shared folder or an USB drive

  • How to find last accessed/updated tables and the query text?

    I am using :
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.0 - Production
    How to find last accessed/updated tables and the query text?
    Regards
    LEE1212

    Check DBA_TBALES view there you find one date column that indicate last update
    One option is as follows:
    (1) Turn the auditing on: AUDIT_TRAIL = true in init.ora
    (2) Restart the instance if its running.
    (3) Audit the table:
         AUDIT INSERT,SELECT,DELETE,UPDATE on TableName
         by ACCESS WHENEVER SUCCESSFUL
    (4) Get the desired information using :
         SELECT OBJ_NAME,ACTION_NAME ,to_char(timestamp,'dd/mm/yyyy , HH:MM:SS')
         from sys.dba_audit_object.
    Cheer,
    Virag Sharma
    http://virag.sharma.googlepages.com/
    http://viragsharma.blogspot.com/
    Message was edited by:
    virag_sh

  • How to find files added in the last 8 hours that caused disk full

    I used a program called Eagle Filer to archive about 20 Gigs of email from Entourage to a library on an external drive. Oddly, this process made my main (startup) disk full, which had about 16 Gigs available. Clearly this thing wrote a lot of data to my startup disk as well, but I can't seem to find it. It happened in the last 8 hours. What's the best way to figure out where these data are? Because they're individual emails, each file may not be enormous, although I'm guessing the parent folder must be. Simply doing a Spotlight for "files created in the last day" isn't revealing it. Maybe they're hidden somehow? How do I find it where all this junk landed?
    thanks,
    Mike

    To find files in your home directory:
    find ~ -newerBt '8 hours ago'
    To find files on your drive that you have permission:
    find / -newerBt '8 hours ago' 2>/dev/null
    To find all files
    sudo find / -newerBt '8 hours ago'
    To see the file size, add "-ls"

  • How to view file access log (AFP) on Mac OS X Lion (10.7) server?

    I want to track the files beeing uploaded and downloaded or deleted on the shares on the server by different users. There has to be some log where the Mac OS writes an entry for every file access (like upload / download / rename / delete) for each user. How can I access it? How can I filter the actions by user account? Do I have to first activate such a logging or is it activated from the first (standard) setup of the Mac OS X Lion server?

    try:
    sudo serveradmin settings afp:activityLog=yes
    then the log entries should be at
    /Library/Logs/AppleFileService/AppleFileServiceAccess.log

  • How to find files in your iTunes Library & NOT in Your iTunes Music folder AND visa versa.

    Finding Files in iTunes Music folder that are not Listed in iTunes
    Make  2 Smart Play Lists and 1 Static Playlist as follows:
    1. Make a smart playlist called “All Files” with this rule: “Artist” is not “123456789″ (or any nonsense name that won’t be in your library).
    2. Make a static playlist called “All Live Files”.
    3. Make a smart playlist called “Missing Files” with these rules: Match all of the following rules, Playlist is “All Files”, Playlist is not “All Live Files”
    Preform the following operations:
    4. Select all the files from “All Files” and drag them into “All Live Files”. The dead files marked  ! will not copy over.
    5. “Missing Files” will contain all of your dead files. Select all and delete (Option+Delete). Voila, a nice clean iTunes library.
    I keep these three playlists in their own folder. Whenever I gather more than a couple dead tracks for whatever reason, I delete all the tracks in “All Live Files” and repeat steps 4 and 5.
    Finding Files in iTunes Library Are Not Present in iTunes Music Folder
    Search on ‘Net for an Applescript called “Music Folder Files Not Added.” This will be at a site called Doug’s Applescripts and costs a mere $1.99. Install and follow instructions. This script also happens of clean up gremlins such as Podcasts that won’t go away, etc.
    <Edited by Host>

    From the top of the page where the scripts live...
    The general method of use is to download the script to a folder of your choice, e.g. your Desktop, Downloads folder or create a folder at ...\iTunes\Scripts. Select a playlist or highlight some tracks in iTunes and then double-click on the script to execute it. If no specific tracks are selected the script will try to work with all tracks in the current playlist. Some scripts offer a choice of track by track confirmation of changes or fully automatic processing of the selection. Many of the scripts can optionally display a progress bar while running.
    You are strongly advised to backup your entire library, or at the very least the iTunes Library.itl file, before use. Test the behaviour of your chosen script on a small group of files first to make sure it does what you want before applying it to large numbers of files.
    Most builds of Windows will execute *.vbs scripts when you double-click them. If that doesn't happen then you might need to visit the Add/Remove Programs or Programs & Features control panel to enable the Windows Scripting Host. I can track down details if you have issues.
    Backing up and restoring data is an area that is often glossed over. Most people don't try to learn much about it until they've lost something important. (Me too )
    If your iTunes library was in the usual layout then normally copying the whole iTunes folder from the User's Music folder in the old computer to the User's Music folder in the new one will usually work fine. Ideally this is done before iTunes is installed so that there is no empty library to replace, and all settings are picked up from the old library. This post contains more details.
    tt2

  • How to find memory taken by a process using top command

    I wanted to know how to find the memory taken by a process using top command. The output of the top command is as follows as an example:
    Mem: 13333364k total, 13238904k used, 94460k free, 623640k buffers
    Swap: 25165816k total, 112k used, 25165704k free, 4572904k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    16514 applmgr 25 0 2197m 1.7g 10m S 0.3 13.0 15:20.67 java
    30692 crestelo 22 0 2901m 1.4g 9284 S 0.0 11.0 3:03.68 java
    30431 crestelo 25 0 2043m 1.4g 161m S 50.9 11.0 79:02.73 java
    30869 crestelo 25 0 2860m 1.2g 9292 S 0.0 9.6 7:11.18 java
    16655 applmgr 23 0 1934m 1.1g 10m S 0.3 8.9 2:17.49 java
    16319 crestelo 19 0 1541m 299m 44m S 0.0 2.3 2:52.11 java
    I hope, my question is clear as to how to find the memory taken by a process using top command.
    Please revert with the reply to my query.
    Regards

    Have you tried "man top" to see the documentation for the top command?
    How about the following: http://lmgtfy.com/?q=show+memory+with+top+command
    The 5th column (VIRT) shows the amount of RAM + swap
    The 6th column (RES) shows RAM
    The 7th column (SHR) shows memory shared between processes

  • How to find memory taken by Oracle processes using top command

    I wanted to know how to find the memory taken by Oracle processes using top command. The output of the top command is as follows as an example:
    Mem: 16436072k total, 16215708k used, 220364k free, 395128k buffers
    Swap: 25165816k total, 1168288k used, 23997528k free, 13366520k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    27281 oraprod 15 0 6705m 1.3g 1.3g S 0.0 8.6 61:44.71 oracle
    27383 oraprod 15 0 6702m 1.2g 1.2g S 0.0 7.7 2:22.75 oracle
    5199 oraprod 16 0 6745m 1.1g 1.0g S 0.0 6.8 2:51.23 oracle
    The different Oracle processes could be Oracle database, Oracle listener, Oracle enterprise manager etc.
    I hope, my question is clear as to how to find the memory taken by a process using top command.
    Please revert with the reply to my query.
    Regards

    a short and correct answer would be: you can't.
    As oracle uses a fair amount of shared memory, and that shared memory is attached to most of the oracle processes, the same memory appears a number of times.
    you should rephrase your question / what is it you want to achieve?
    you can ask oracle how much memory is assigned to it, v$sga, v$sgastat, v$process (for PGA). moreover, you as DBA are the one who configured that.
    you can look at major an minor faults per process to see what is causing the paging (if you have any).
    you can also look at the /proc/pid/statm pseudofilesystem for your oracle pids.

  • How to find File Content converson error

    Hi All,
       If there is a problem with key field in the file content conversion, file is getting deleted from the source system, and SXMB_moni does not have any message, adapter monitor does not show any message, How to find the error?
    Thank you
    Ganges Leaves

    hi,
    do you see anything in the AFW message monitoring
    http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp  
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to find file is open or not in java

    hai;
    i want to know that , the particular file is opened on eariler or not,
    can you help me how to find out , the file is earlier opened or not
    thanks regards

    davvidmaria wrote:
    hai;
    i want to know that , the particular file is opened on eariler or not,
    can you help me how to find out , the file is earlier opened or not
    thanks regardsWhat do you mean by opened on earlier or not?
    If you want to check to see if a certain file is open you could probably use the file class and check to see if you can write to the file check out the api
    [http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html]

  • How to find files from PC using MAC

    Hi, I already added a network in my PC and can see the public folder. On my mac I already shared the computer using file sharing in the pref pane. question is, how do i access the PC on my mac? where do I drop files so i can access any file on both computers. Thanks

    You can get to shares using SMB. In Finder, go to "Go" than "Connect to Server...". Type in smb://addressof_yourpc

  • How to find files

    I backed up files from my ipad apps onto the cloud.  how do i find those files on the cloud?

    If Goodnotes syncs data with iCloud, it would only be accessible from within the app.  It's designed to allow you to access these files from within the app on another iOS device.
    Also, if it's this app: http://www.goodnotesapp.com/user-guide/cloud-mirroring.html, it says that iCloud syncing will be available with a future update so it may not have that functionality at the present time.

  • How to find files created by Apps in iTunes 11.1.4.62?

    Unable to find a way to view and manipulate files created by Apps. with 11.1.4.62.
    Also missing is the display of the screens in devices containing app icons which can be repositioned.
    Have these features been purposely removed from 11.1.4.62 ?  Do I need to reinstall the previous version to get them back?

    I think you're asking how to update your apps on iTunes on your computer.
    The screen from which you update looks like this:
    To get there, go to "Apps" as shown in the upper left, then click "Updates" in the top center.  All available updates will be displayed.  If there are none displayed, click "Check for Updates" in the lower right.  If some are in fact available, that button will change and say "Update all".

Maybe you are looking for

  • My Mac book pro (2011) start-up goes straight to disk utlities and wont install mavricks.

    Hello,      My mac boook pro 2011 wont start up to my internal harddrive. it will sit on the white screen for a bit before it takes me directly to the choose language then disk utlity and shows the; Time machine install osx get help online disk utlit

  • MM: Delivery and material document

    Hi Gurus, We have PP-PI industry and we have configured SAP in all areas like MM,SD,PP, WMQM with handling unit. Now for some materials when we receive or issue we get a delivery and for some materials we receive material document. Can you please tel

  • Merging of Projects

    I'm importing MS Word files into RoboHelp to create a.chm file. RoboHelp enables me to merge a project file with another. My question now is: the merge file doesn't pick up any changes to the original project file - even after compiling the original

  • Rule based GUIs

    Hi! I�ve been doing a lot of Java GUIs lately, and I am starting to be tired of always defining the same checks to user inputs. Things like: - having 2 date fields and one cannot be older that the other - certify that a text field cannot have certain

  • Snow Leopard Installation Problems with Bridge

    I just installed Snow Leopard, after having the CS4 Suite with Bridge CS4 previously installed. When I tried to open Bridge after the insallatin of Snow Leopard, I got four error messages in succession, one right after the other when hitting "ok": 1.