Sponsored Content
Full Discussion: Minix help wanted
Top Forums Programming Minix help wanted Post 302513899 by fpmurphy on Thursday 14th of April 2011 09:58:25 AM
Old 04-14-2011
Quote:
OK, earlier than I recalled. Question is, does the OP want to count calls in an application run, or since boot, and if the latter, is the kernel equipped with a per-call counter?
Minix 1 & 2 - nope. Minix 3 - You can browse the source code at https://gforge.cs.vu.nl/gf/project/m...trunk%2Fsrc%2F
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Minix Installation

hi, I'm trying to install Minix 2.0.3 on an old gateway2000 4dz2-66 manufactured back in 1995. After I ran 'part' in setup, It make the root/swap/usr subpartitions and then I get this message: installboot: No such File or Directory This was when i had my /usr disk in,here is teh output i... (2 Replies)
Discussion started by: deadrobot
2 Replies

2. Shell Programming and Scripting

A small minix question

First af all hi. i want to create a batch script which inform when users log in last time on system or if they are online when they logged in. I want ot use a file .users which has the usernames of users. i want to print for example peter is ONLINE: Logged in on Wed Feb 11 07:47 alex... (2 Replies)
Discussion started by: sasa
2 Replies

3. UNIX for Advanced & Expert Users

sys_datacopy in Minix

I'm writing a program that must log all the kernel calls existing in Minix. I recall that Minix is a microkernel OS. I've a user process that pass a char* that points to a buffer memory to the kernel level. In the kernel level I get all the information, and now, I would like to copy the info to... (1 Reply)
Discussion started by: pedrosacosta
1 Replies

4. Solaris

Help with minix

hey guys i hope there is someone familiar with minix that can help me. Well, the problem i am sitting with is that a ran a program with an infinite loop in it, now i think i ran out of memory in the root because a keep on getting the message " no space on the root device 3/128 ", whenever i try... (3 Replies)
Discussion started by: surubi_abada
3 Replies

5. Shell Programming and Scripting

Api Posix in Minix

Hi, I'm using minix and I don't know how to use API POSIX (I've read ipc.h :confused:), someone could help me? Thank you :) (3 Replies)
Discussion started by: Guccio
3 Replies

6. Shell Programming and Scripting

File system in MINIX

Hi I am new in MINIX I want to add data into inode and retrive. where I add these information and how I can retrive? Thanx Rose (2 Replies)
Discussion started by: rosecomp
2 Replies

7. Homework & Coursework Questions

Noob minix problem

please help!! The question that has been asked is to use /tmp directory in minix to get to know the root password or get the root privilege . onr thing that I have done is : % cp /bin/sh /tmp % chmod 4777 /tmp/sh now what next must i do to get the root privelege? or maybe some other method ... (1 Reply)
Discussion started by: amanmamgain
1 Replies

8. UNIX for Dummies Questions & Answers

Recycle bin on minix 3.2.1?

Hi. I'm started to use minix 3.2.1 recently and I'm trying to create a recycle bin for it. I'm kinda struggling on how to do it. I searched internet and I found scripts created for it but I actually didn't learn how to create scripts in college and I'm not sure if I understand them. I just wanted... (1 Reply)
Discussion started by: ReonarudoB
1 Replies
Template::Plugin::URL(3)				User Contributed Perl Documentation				  Template::Plugin::URL(3)

NAME
Template::Plugin::URL - Plugin to construct complex URLs SYNOPSIS
[% USE url('/cgi-bin/foo.pl') %] [% url(debug = 1, id = 123) %] # ==> /cgi/bin/foo.pl?debug=1&id=123 [% USE mycgi = url('/cgi-bin/bar.pl', mode='browse', debug=1) %] [% mycgi %] # ==> /cgi/bin/bar.pl?mode=browse&debug=1 [% mycgi(mode='submit') %] # ==> /cgi/bin/bar.pl?mode=submit&debug=1 [% mycgi(debug='d2 p0', id='D4-2k[4]') %] # ==> /cgi-bin/bar.pl?mode=browse&debug=d2%20p0&id=D4-2k%5B4%5D DESCRIPTION
The "URL" plugin can be used to construct complex URLs from a base stem and a hash array of additional query parameters. The constructor should be passed a base URL and optionally, a hash array reference of default parameters and values. Used from with a template, it would look something like the following: [% USE url('http://www.somewhere.com/cgi-bin/foo.pl') %] [% USE url('/cgi-bin/bar.pl', mode='browse') %] [% USE url('/cgi-bin/baz.pl', mode='browse', debug=1) %] When the plugin is then called without any arguments, the default base and parameters are returned as a formatted query string. [% url %] For the above three examples, these will produce the following outputs: http://www.somewhere.com/cgi-bin/foo.pl /cgi-bin/bar.pl?mode=browse /cgi-bin/baz.pl?mode=browse&debug=1 Note that additional parameters are separated by '"&"' rather than simply '"&"'. This is the correct behaviour for HTML pages but is, unfortunately, incorrect when creating URLs that do not need to be encoded safely for HTML. This is likely to be corrected in a future version of the plugin (most probably with TT3). In the mean time, you can set $Template::Plugin::URL::JOINT to "&" to get the correct behaviour. Additional parameters may be also be specified to the URL: [% url(mode='submit', id='wiz') %] Which, for the same three examples, produces: http://www.somewhere.com/cgi-bin/foo.pl?mode=submit&id=wiz /cgi-bin/bar.pl?mode=browse&id=wiz /cgi-bin/baz.pl?mode=browse&debug=1&id=wiz A new base URL may also be specified as the first option: [% url('/cgi-bin/waz.pl', test=1) %] producing /cgi-bin/waz.pl?test=1 /cgi-bin/waz.pl?mode=browse&test=1 /cgi-bin/waz.pl?mode=browse&debug=1&test=1 The ordering of the parameters is non-deterministic due to fact that Perl's hashes themselves are unordered. This isn't a problem as the ordering of CGI parameters is insignificant (to the best of my knowledge). All values will be properly escaped thanks to some code borrowed from Lincoln Stein's "CGI" module. e.g. [% USE url('/cgi-bin/woz.pl') %] [% url(name="Elrich von Benjy d'Weiro") %] Here the spaces and ""'"" character are escaped in the output: /cgi-bin/woz.pl?name=Elrich%20von%20Benjy%20d%27Weiro An alternate name may be provided for the plugin at construction time as per regular Template Toolkit syntax. [% USE mycgi = url('cgi-bin/min.pl') %] [% mycgi(debug=1) %] AUTHOR
Andy Wardley <abw@wardley.org> <http://wardley.org/> COPYRIGHT
Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Template::Plugin perl v5.12.1 2008-11-13 Template::Plugin::URL(3)
All times are GMT -4. The time now is 10:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy