Sponsored Content
Top Forums Programming Examples, usage, help in C++ program Post 302670441 by kristinu on Thursday 12th of July 2012 05:39:04 AM
Old 07-12-2012
That's what I've done. My question is where to put the function print_help();

I do have a few functions and they are quite long. They involve
sending information to the user. I have now put them in another
file.
 

10 More Discussions You Might Find Interesting

1. Programming

usage of ftp in C program

thank you of your help my application system is : windows 2000 pc --- HP unix minicom ---- windows NT I am programming with C language on HP unix minicom , I want to get files with ftp command from windows 2000 pc to HP unix minicom in my program, and also put files with ftp command... (1 Reply)
Discussion started by: bdyjm
1 Replies

2. UNIX for Advanced & Expert Users

looking for .profile examples

I'm looking for some 'well documented' .profile examples (8 Replies)
Discussion started by: JimC
8 Replies

3. Shell Programming and Scripting

need examples?

Can someone give me an example of two shells? (1 Reply)
Discussion started by: wmosley2
1 Replies

4. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

5. UNIX for Advanced & Expert Users

Checking mem usage at specific times in a program

Hi all, I'm running a simulator and I'm noticing an slow increase in memory for long simulations such that the simulation has to end because of a lack of memory. A colleague of mine ran Valgrind memcheck and reported that nothing of interest was reported other than known mem leaks. My advisor... (2 Replies)
Discussion started by: pl4u
2 Replies

6. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

7. Shell Programming and Scripting

Need lot of examples

Hi, I need a word doc or pdf which contains lots of Shell Programming samples... This is for my open book examination, thanks in advance.. (2 Replies)
Discussion started by: karthikeayan
2 Replies

8. Shell Programming and Scripting

[Solved] Usage of shell commands inside a C program

Hi I have a program int main(int srgc, char *argv) { for(int i=1; i<50; i++) { system("dd if=/dev/zero of=file$i bs=1024 count=$i"); } return 0; } My doubt is how to use the "$i" value inside C code Please help (2 Replies)
Discussion started by: Priya Amaresh
2 Replies

9. Shell Programming and Scripting

Script to record max memory usage of program

Hello, I am working on an application that uses allot of memory depending on the input. I am also working on more than one processing algorithm. The program has a long processing time (hours) so it would be nice to be able to monitor the maximum memory footprint of the application during runs... (1 Reply)
Discussion started by: LMHmedchem
1 Replies

10. Ubuntu

Wine cause more cpu usage and freeze program for a couple of seconds

Hi, i am facing a strange issue with wine. I am using ubuntu 14, 17 and 18 and in all version same thing, app which works perfeclty suddenly slow down, and i see that use too much CPU. First, i was thinking that memory is the problem, but now i am thinking that cpu is main problem. I have a... (10 Replies)
Discussion started by: tomislav91
10 Replies
QUOTASYNC(1)						      General Commands Manual						      QUOTASYNC(1)

NAME
quotasync - synchronize in-kernel file system usage and limits to disk format SYNOPSIS
quotasync [ -ug ] mount-point... quotasync [ -ug ] -a quotasync -h | -V DESCRIPTION
quotasync flushes file system usage and limits from kernel memory to quota files stored in the file system. By default only the user quotas are synchronized. This tool can be useful if you want to display accurate quotas by tools that parse quota files, like repquota(8). OPTIONS
-u, --user Synchronize user usage and limits. -g, --group Synchronize group usage and limits. -a, --all Synchronize usage and limits on all file systems. You have to specify this option or to specify desired file systems. -V, --version Show program version information and exit. -h, --help Show program usage and exit. DIAGNOSTICS
If requested synchronization fails, or invalid option is given, quotasync will terminate with non-zero exit code. Otherwise it will return zero. FILES
aquota.user or aquota.group Quota file at the file system root (version 2 quota, non-XFS/GFS2 file systems). quota.user or quota.group Quota file at the file system root (version 1 quota, non-XFS/GFS2 file systems). /etc/mtab List of mounted file systems maintained by user space. /proc/mounts List of mounted file systems maintained by kernel. SEE ALSO
quota(1), quotactl(2), mount(8), quotacheck(8), quotaon(8), repquota(8), warnquota(8). QUOTASYNC(1)
All times are GMT -4. The time now is 01:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy