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
Magnificient !!!
Hello Dude,
I am happy to see you here !
Bertrand
[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!
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
it worked, it’s very helpful, thanks for sharing! 🙂
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.
Hello,
Weird… I’ll drop you an email with the scripts.
Check your spam folder as it may be put in it 😉
Bertrand
HI Bertrand,
I am unable to download your scripts. Can you please email me also ?
Thanks
Srini Krovvidi pattu64@yahoo.com
Hello,
Sure, I’ll do.
Bertrand
HI Bertrand,
I am unable to download your scripts. Can you please email me also ?
Thanks
navdeepsbhatia@gmail.com
Reply
HI Bertrand,
Can the script work on windows?
Thanks and regards
Norfaiza
Hi,
Yes it should, it has been tested on it in 2013.
Bertrand