real_time

I have been told too many issues due to copy/paste of the source code.

That’s why the source code is not available on this page anymore.

But, feel free to download the real_time.pl script from this repository so that you can use it without copy/paste issues.

Remarks:

  • The script does not create any objects, simply download it and use it !
  • If you hit this issue:
./real_time.pl 
: No such file or directory
  • Then launch it that way:
perl ./real_time.pl

Enjoy,

Bertrand

Advertisement

13 thoughts on “real_time

  1. [oracle@racdb1 ~]$ perl real_time.pl 5 5 -type=asmiostat
    ……………………….
    Collecting 1 sec….
    ……………………….
    23:07:12 Kby Avg AvgBy/ Read Kby Avg AvgBy/ Write
    23:07:12 INST DG FG DSK Reads/s Read/s ms/Read Read Errors Writes/s Write/s ms/Write Write Errors
    23:07:12 —— ———– ———– ———- ——- —— ——- —— —— ——– ——- ——– —— ——
    23:07:12 OCRVOTE 0 0 0.0 0 0 0 0 0.0 0 0
    23:07:12 DATA 3 48 1.3 16384 0 0 0 0.0 0 0
    23:07:12 ARCH 0 0 0.0 0 0 0 0 0.0 0 0
    ……………………….
    Collecting 1 sec….
    ……………………….
    23:07:13 Kby Avg AvgBy/ Read Kby Avg AvgBy/ Write
    23:07:13 INST DG FG DSK Reads/s Read/s ms/Read Read Errors Writes/s Write/s ms/Write Write Errors
    23:07:13 —— ———– ———– ———- ——- —— ——- —— —— ——– ——- ——– —— ——
    23:07:13 OCRVOTE 0 0 0.0 0 0 0 0 0.0 0 0
    23:07:13 DATA 5 80 1.0 16384 0 0 0 0.0 0 0
    23:07:13 ARCH 0 0 0.0 0 0 2 1 26.0 512 0
    ……………………….
    Collecting 1 sec….
    ……………………….
    23:07:14 Kby Avg AvgBy/ Read Kby Avg AvgBy/ Write
    23:07:14 INST DG FG DSK Reads/s Read/s ms/Read Read Errors Writes/s Write/s ms/Write Write Errors
    23:07:14 —— ———– ———– ———- ——- —— ——- —— —— ——– ——- ——– —— ——
    23:07:14 OCRVOTE 0 0 0.0 0 0 3 12 34.0 4096 0
    23:07:14 DATA 7 112 1.3 16384 0 5 68 27.2 13926 0
    23:07:14 ARCH 0 0 0.0 0 0 2 8 28.0 4096 0
    ……………………….
    Collecting 1 sec….
    ……………………….
    ^CDisconnecting from RDBMS…

    i specify interval time but it collect only 1 seconds and keep running. how to fix this? thanks you much!

    1. Hello,

      You have to launch the script with the count and interval arguments to get an interval of 5 seconds during 5 snaps:

      ./real_time_asm.pl -count=5 -interval=5 -type=asmiostat

      You can have a look at the general help that way:

      ./real_time_asm.pl -help

      or for a particular type:

      ./real_time_asm.pl -type=asmiostat -help

      By the way: There is no need to call “perl”, simply execute the real_time script that way: ./real_time

      Enjoy
      Bertrand

  2. Can’t download the script. Google Drive is disallowing downloads because too many people are attempting to download it. Apparently your scripts are very popular 🙂 Is there another way to obtain the script? Thanks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.