getdebuginfo()

classic Classic list List threaded Threaded
2 messages Options
Sylvestre Ledru Sylvestre Ledru
Reply | Threaded
Open this post in threaded view
|

getdebuginfo()

Hello guys,

I added a function in scilab called
[dynamic_info,compilation_info]=getdebuginfo()

In the dynamic part, at the moment, under Linux, I return all the memory
(swap, cached and physical) information I can find. I also return some
stuff about the version of the OS. [1]
I am going to add more information about the CPU.

Do you see anything else I could add in this function ?

Sylvestre

[1]
-->getdebuginfo()
 ans  =
 
!Total memory:    2075292            !
!                                    !
!Used memory:    1957132             !
!                                    !
!Free memory:     118160             !
!                                    !
!Shared memory:          0           !
!                                    !
!Buffers memory:      82192          !
!                                    !
!Cached memory:     181492           !
!                                    !
!Used -/+ buffers/cache:    1693448  !
!                                    !
!Free -/+ buffers/cache:     381844  !
!                                    !
!Total swap:    3903784              !
!                                    !
!Used swap:    1962404               !
!                                    !
!Free swap:    1941380               !
!                                    !
!OS version: Linux 2.6.22-3-686      !


signature.asc (189 bytes) Download Attachment
Simone Mannori Simone Mannori
Reply | Threaded
Open this post in threaded view
|

Re: getdebuginfo()

Hi Sylvestre,

nice job :)

1) please be terse about "cpuinfo" :
   a) model
   b) cores
   c) MHz
   will be more than enough

2) a parallel function for the graphics pipeline will be _extremely_
useful:
   a) extract the single line relative to the graphic card inside
      "lspci"
   b) extract some terse info using "xlginfo" (too verbose for my
      personal taste)

The second function could be used to simplify our support for 3D cards.

THX

Simone

//**-----------------------------------------------------------------


On Thu, 2008-02-07 at 23:32 +0100, Sylvestre Ledru wrote:

> Hello guys,
>
> I added a function in scilab called
> [dynamic_info,compilation_info]=getdebuginfo()
>
> In the dynamic part, at the moment, under Linux, I return all the memory
> (swap, cached and physical) information I can find. I also return some
> stuff about the version of the OS. [1]
> I am going to add more information about the CPU.
>
> Do you see anything else I could add in this function ?
>
> Sylvestre
>
> [1]
> -->getdebuginfo()
>  ans  =
>  
> !Total memory:    2075292            !
> !                                    !
> !Used memory:    1957132             !
> !                                    !
> !Free memory:     118160             !
> !                                    !
> !Shared memory:          0           !
> !                                    !
> !Buffers memory:      82192          !
> !                                    !
> !Cached memory:     181492           !
> !                                    !
> !Used -/+ buffers/cache:    1693448  !
> !                                    !
> !Free -/+ buffers/cache:     381844  !
> !                                    !
> !Total swap:    3903784              !
> !                                    !
> !Used swap:    1962404               !
> !                                    !
> !Free swap:    1941380               !
> !                                    !
> !OS version: Linux 2.6.22-3-686      !
>