[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 220
  • Last Modified:

system information

i hve to write a program to retrieve system details like , processor specification ,memory size ,hard sisk partition  on a linux   pc .

the program specification tells :
               1) Dont use kernel modules
               2)Dont read from /Proc/*        files
               3)Dont use  exixting command like cpuinfo ,fdisk  etc ....

Is there any another way to get all the PCI  and USB information  and CPU info  ???
0
ratheesh_k
Asked:
ratheesh_k
  • 3
  • 3
1 Solution
 
fridomCommented:
What's the point in it? The tools are there for reason and it will be hard enough to gather all the information you like form the /proc filesystem.

Friedrich
0
 
ratheesh_kAuthor Commented:
u r telling that there are tools for this ?
0
 
ratheesh_kAuthor Commented:
what am asking is  using an api or some inline assembly ,can we read these details from pci  or usb ?
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
ratheesh_kAuthor Commented:
tat is good , wat abt the USB  ?
0
 
fridomCommented:
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now