Index of /examples/perl/examples/basic/ex04-column-data

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[   ]parse_column_data.pl 2021-05-21 09:33 1.8K 
[   ]parse_column_data_cm..>2021-05-21 09:33 13K 

RCS Perl Basic Example #4 - parse column data

Directory Structure

Notes

There are two ways to run Perl script at the command line:
  • call perl interpreter on the script explicitly by providing 'parse_column_data.pl' script as its parameter:
  • 
    [scc1 ]$ perl parse_column_data.pl
    [scc1 ]$ 
    
  • call 'parse_column_data.pl' directly as a binary command (need to first make the script executable using 'chmod' command:
  • 
    [scc1 ]$ chmod +x parse_column_data.pl
    [scc1 ]$ parse_column_data.pl
    [scc1 ]$ 
    
    The command output is recorded in 'parse_column_data_cmd.out'. Please note, the output of this script will be runtime dependent, since it is to read the 'top' command output at the time of running. But the format shall be kept.

    Contact Information

    Research Computing Services: help@scc.bu.edu

    Note: RCS example programs are provided "as is" without any warranty of any kind. The user assumes the intire risk of quality, performance, and repair of any defect. You are welcome to copy and modify any of the given examples for your own use.