File : queue.dat Queue Version : 5.01 Size : 7168 bytes F@H Client : FAH502-Linux.exe
CPU: 1,0 x86; OS: 4,0 Linux
The CPU and OS types are detected by the client and sent to the servers when requesting assignments. They can influence what sort of work will be assigned, and which core URL is given to the client. Each of these types is reported as a pair of numbers, the first of which is a basic type defined by Cosm, and the second of which is a subtype determined by the client. The most detail is available for Windows systems running on Intel CPUs. The numbers are sometimes stored in little-endian order in queue.dat, and sometimes in big-endian order, with no clearly consistent pattern. If qd recognizes the pair of numbers, it prints a string which interprets them.
The full set of numbers are: CPU Type, CPU Species, OS Type and OS Species.
The OS types defined by Cosm are:
OS_UNKNOWN : 0 | OS_BEOS : 10 | OS_UNIXWARE : 20 | OS_SINIX : 30 OS_WIN32 : 1 | OS_IRIX : 11 | OS_HPUX : 21 | OS_DYNIX : 31 OS_MACOS : 2 | OS_IRIX64 : 12 | OS_MACH : 22 | OS_OS390 : 32 OS_MACOSX : 3 | OS_SUNOS : 13 | OS_AIX : 23 | OS_RISCOS : 33 OS_LINUX : 4 | OS_SOLARIS : 14 | OS_AUX : 24 | OS_OS9 : 34 OS_BSDI : 5 | OS_SONYPS3 : 15 | OS_AMIGAOS : 25 | OS_NETBSD : 6 | OS_QNX : 16 | OS_NETWARE : 26 | OS_FREEBSD : 7 | OS_TRU64 : 17 | OS_MVS : 27 | OS_OPENBSD : 8 | OS_WIN64 : 18 | OS_ULTRIX : 28 | OS_NEXTSTEP : 9 | OS_OS2 : 19 | OS_DGUX : 29 |Comments for the OS types:
OS_WIN32 1 /* Win95 and up */ OS_TRU64 17 /* AKA Dec UNIX, AKA OSF1 */ OS_WIN64 18 /* 64bit windows */See: Cosm API - Defines and Types
grep "484 OS" qd.c u32 os_type; /* 484 OS species (LE or BE, sometimes 0) */
./qd -q queue.dat | grep OS CPU: 1,0 x86; OS: 4,0 Linux # Index 3 CPU: 1,0 x86; OS: 4,0 Linux # Index 4 CPU: 1,0 x86; OS: 4,0 Linux # Index 5 CPU: 1,0 x86; OS: 4,0 Linux # Index 6 CPU: 1,0 x86; OS: 4,0 Linux # Index 7 CPU: 1,0 x86; OS: 4,0 Linux # Index 8 CPU: 1,0 x86; OS: 4,0 Linux # Index 9 CPU: 1,0 x86; OS: 4,0 Linux # Index 0 CPU: 1,0 x86; OS: 4,0 Linux # Index 1 CPU: 1,0 x86; OS: 4,0 Linux # Index 2
hexdump -C -s 492 -n 4 queue.dat # Index 0 000001ec 04 00 00 00 |....| 000001f0 hexdump -C -s 1204 -n 4 queue.dat # Index 1 000004b4 04 00 00 00 |....| 000004b8 hexdump -C -s 1916 -n 4 queue.dat # Index 2 0000077c 04 00 00 00 |....| 00000780 hexdump -C -s 2628 -n 4 queue.dat # Index 3 00000a44 04 00 00 00 |....| 00000a48 hexdump -C -s 3340 -n 4 queue.dat # Index 4 00000d0c 04 00 00 00 |....| 00000d10 hexdump -C -s 4052 -n 4 queue.dat # Index 5 00000fd4 04 00 00 00 |....| 00000fd8 hexdump -C -s 4764 -n 4 queue.dat # Index 6 0000129c 04 00 00 00 |....| 000012a0 hexdump -C -s 5476 -n 4 queue.dat # Index 7 00001564 04 00 00 00 |....| 00001568 hexdump -C -s 6188 -n 4 queue.dat # Index 8 0000182c 04 00 00 00 |....| 00001830 hexdump -C -s 6900 -n 4 queue.dat # Index 9 00001af4 04 00 00 00 |....| 00001af8