Find the answer to your Linux question:
Results 1 to 3 of 3
I have a requirement to log the command history of all disk drives running in the system. I test disk drives. I was thinking the drivers could be modified to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2

    Disk driver command history


    I have a requirement to log the command history of all disk drives running in the system. I test disk drives. I was thinking the drivers could be modified to do this. Is this practical? If so, where would I log the history file? Where can I patch it in the drive to do this?

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    It may be as simple as turning on debugging in kernel conf.

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2
    Are you talking about the turning that on so it goes into the kernel FIFO (output via DMESG) . If so, I need an accurate timestamp of command execution and I cannot get that from the kernel FIFO. I test hundreds of drives a day.
    Thanks

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •