Skip to content

Application to display dynamic line charts in console (e.g. CPU utilization in time).

License

Notifications You must be signed in to change notification settings

irpab/console_chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

See edoc for module console_chart.
See example of usage in priv/cnsl_cpu_util.escript - run make, cd ebin/ and ./cnsl_cpu_util.escript - this will show cpu utilization in time:
=================================================================================
  100                                                                                                      
                                                                                                           
                                                                                                           
                                                             /|                                            
                                       _                    | |                                            
                                      / |                   | |                                            
   75                           /|   |   \                  | |                                            
                               | |   |    |                /  |                                            
                              /  |   |    |               |   |                                            
                             |   |   |    |              _|   |    /|                                      
                             |   |   |    |             /     |   |  \                                     
            /\_              |   |   |    |            |      |   |   \/|  /|                /|            
   50      |   |           /\|   |   |    |            |      |   |     | | |               | |            
          /    |          |      |  /     |            |      |   |     | | |               | |            
         |     |          |      | |      |            |       \_/      | | |               | |            
         |     |          |      | |       \           |                 \| |      /\       |  \        /  
        _|     |          |      | |        \          |                     \    |  |      |   |      |   
       /       |         /       | |         |         |                      |   |   \____ |    \   /\|   
      |         \_/|    |        | |         |        /                        \_/         \|     \_|      
   25\|             \/\/         | |          \      |                                                     
                                  \|           |  /| |                                                     
                                                \| | |                                                     
                                                   | |                                                     
                                                    \|                                                     
                                                                                                           
    0                                                                                                      

Other variants for this script:
./cnsl_cpu_util.escript cpu 1000 - display cpu usage with update every 1000 ms (defaults)
./cnsl_cpu_util.escript mem 2000 - display free RAM with update every 2 sec.

About

Application to display dynamic line charts in console (e.g. CPU utilization in time).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published