Tag: number


Get information about the processor – Linux

Gather all information about your processor: cat /proc/cpuinfocat /proc/cpuinfo Get the number of processors on your system: cat /proc/cpuinfo | grep processor | wc -lcat /proc/cpuinfo | grep processor | wc -l Get the model of your processor/s: cat /proc/cpuinfo | grep -m 1 "model name"cat /proc/cpuinfo | grep -m 1 "model name"


Get motherboard ID – Serial number with C#

To get motherboard id we have to use the class ManagementObjectSearcher. To use this class we have to add a reference to System.Management namespace. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 public String getMotherBoardID() { String serial = ""; try { ManagementObjectSearcher mos = new ManagementObjectSearcher("SELECT …


Identifying the version number of running services

If you wish to identify the software Version (-sV flag) of services running on machine’s open ports, just provide the -sV flag to nmap. Type the command: nmap -sV x.x.x.x where x.x.x.x is the ip address that you wish to scan.   You will get an answer similar to this: Starting Nmap 5.21 ( http://nmap.org …