Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / ksysguard / ksysguardd / Tru64 / Memory.h
blob7df6eb033253b79e7b5e6195dbd86456b9c18525
1 /*
2 KSysGuard, the KDE System Guard
4 Copyright (c) 1999 Chris Schlaeger <cs@kde.org>
6 Solaris support by Torsten Kasch <tk@Genetik.Uni-Bielefeld.DE>
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 #ifndef _Memory_h_
25 #define _Memory_h_
27 typedef unsigned long t_memsize;
29 #define PAGETOK(a) ((( (t_memsize) sysconf( _SC_PAGESIZE )) / (t_memsize) 1024) * (t_memsize) (a))
31 void initMemory(struct SensorModul* sm);
32 void exitMemory(void);
34 int updateMemory(void);
36 void printMemFree( const char *cmd );
37 void printMemFreeInfo( const char *cmd );
38 void printMemUsed( const char *cmd );
39 void printMemUsedInfo( const char *cmd );
41 void printSwapFree( const char *cmd );
42 void printSwapFreeInfo( const char *cmd );
43 void printSwapUsed( const char *cmd );
44 void printSwapUsedInfo( const char *cmd );
46 #endif /* _Memory_h */