<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic View log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251979#M175478</link>
    <description>How to know what are the commands executed by a user on a file [Eg: touch]</description>
    <pubDate>Mon, 19 Apr 2004 06:11:03 GMT</pubDate>
    <dc:creator>sam_111</dc:creator>
    <dc:date>2004-04-19T06:11:03Z</dc:date>
    <item>
      <title>View log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251979#M175478</link>
      <description>How to know what are the commands executed by a user on a file [Eg: touch]</description>
      <pubDate>Mon, 19 Apr 2004 06:11:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251979#M175478</guid>
      <dc:creator>sam_111</dc:creator>
      <dc:date>2004-04-19T06:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: View log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251980#M175479</link>
      <description>YOu can look in there .sh_history file in their home directory.  This isn't great though as it doesn't keep much history in there by default.</description>
      <pubDate>Mon, 19 Apr 2004 06:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251980#M175479</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-04-19T06:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: View log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251981#M175480</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;There is a limit to the commands in history but&lt;BR /&gt;&lt;BR /&gt;strings .sh_history|nl -ba&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Will show what there is&lt;BR /&gt;&lt;BR /&gt;                   Steve Steel</description>
      <pubDate>Mon, 19 Apr 2004 06:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251981#M175480</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-04-19T06:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: View log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251982#M175481</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;.sh_history file under the user home directory contains the commands issued by user</description>
      <pubDate>Mon, 19 Apr 2004 06:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251982#M175481</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-04-19T06:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: View log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251983#M175482</link>
      <description>You can change the HISTSIZE environment variable as well.&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Mon, 19 Apr 2004 06:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251983#M175482</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-04-19T06:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: View log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251984#M175483</link>
      <description>hi guys &lt;BR /&gt;&lt;BR /&gt;sorry for being late. &lt;BR /&gt;&lt;BR /&gt;I know that I can view .h_history file. but what about date and time details i.e when a particular command is executed. is this available any where ?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;sam</description>
      <pubDate>Thu, 22 Apr 2004 04:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251984#M175483</guid>
      <dc:creator>sam_111</dc:creator>
      <dc:date>2004-04-22T04:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: View log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251985#M175484</link>
      <description>Sam, as far as .sh_history is concerned u will be able to see only commands one has executed and i think that is the only way to see the executed commands. &lt;BR /&gt;U can try increasing the size of history by setting HISTSIZE variable to get more history.&lt;BR /&gt;&lt;BR /&gt;Now if you see time stamp and other details then you have go through Log files. The most common one is /var/adm/syslog/syslog.log. I agree u won't be able to see all commands in that.&lt;BR /&gt;&lt;BR /&gt;Further you can configure SYSLOGD daemon to log more details regarding the activities taking place on the System.&lt;BR /&gt;&lt;BR /&gt;man syslogd will guide u properly in this regards.&lt;BR /&gt;That's all.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Apr 2004 05:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-log/m-p/3251985#M175484</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-04-22T05:00:43Z</dc:date>
    </item>
  </channel>
</rss>

