View Single Post
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#4
The applications are maintained using dpkg, either find a library which interfaces with /var/lib/dpkg, or parse it directly, or parse the output of dpkg -l.

As for free memory, standard df-type functionality will do it, statfs(2) probably being your best bet.

HTH,

Andrew
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa