Sponsored Content
The Lounge What is on Your Mind? Post Geeky Screenshots - Just for Fun Post 302651561 by eccentricson on Tuesday 5th of June 2012 07:10:43 PM
Old 06-05-2012
Here you go. A simple MySQL query:

Image
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

GUI Screenshots - HP-UX

How do I capture screenshots on HP-UX and how do I name the files so I can move them to microsoft? (2 Replies)
Discussion started by: jay_mow
2 Replies

2. UNIX for Dummies Questions & Answers

Taking Screenshots in Unix

Hello, I am trying to take screenshots of various windows and dialog boxes in Unix. I am primarily a Windows user and am wondering if Unix has the capability of taking screenshots similar to using "Print Screen" and "Alt+Print Screen" in Windows? If not, then could anyone please suggest a method... (3 Replies)
Discussion started by: Skybum105
3 Replies

3. What is on Your Mind?

Sing and Record on Your Mobile and Post for Fun!

OK, this should be really fun! Here are the guidelines: (1) Sing a few lines of a song or an entire song, it's up to you! (2) You must record with your mobile phone! (3) No background music! (4) Post the name of the song and the artist in your post. (5) Listeners award Bits and... (7 Replies)
Discussion started by: Neo
7 Replies

4. UNIX for Dummies Questions & Answers

Taking Screenshots With the Terminal

Hi, So this is kind of a bizarre request: Is there a way I can get the Terminal to take 30 successive screenshot images over the course of 2 seconds? I figure you can do almost anything through the terminal, so I'm hoping this is possible, too. Truthfully, I don't know that much about Unix,... (1 Reply)
Discussion started by: TranscendArcus
1 Replies

5. UNIX for Dummies Questions & Answers

Using Terminal to Take Screenshots

So I sometimes use the Terminal to take many screenshots in rapid succession. Since I have an interest in animation, I sometimes use this to capture and examine how other animators have drawn certain movements. To take my screenshots, I made a script (at least I think it's a script) with the... (4 Replies)
Discussion started by: TranscendArcus
4 Replies

6. Shell Programming and Scripting

How to get notified when screenshots are taken?

Hi, I use third-party softwares but like to get notified when screenshots, if any, are taken. Any hints on how to achieve it? Thanks, Riku Linux 3.19.0-56-generic #62~14.04.1-Ubuntu SMP Fri Mar 11 11:03:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Ubuntu 14.04.3 LTS (3 Replies)
Discussion started by: rikuito
3 Replies

7. Shell Programming and Scripting

How to login and screenshots?

Dear All, Is that possible to open a url in chrome and then login with credentials and then click on particular link there ,then taking screenshot of that page via shell script ? I need to open an website like XXXXX.XXXX.XXX.XX:1235 ..there will be two fields for login Username and Password ... (2 Replies)
Discussion started by: onenessboy
2 Replies
RTPRIO(2)						      BSD System Calls Manual							 RTPRIO(2)

NAME
rtprio, rtprio_thread -- examine or modify realtime or idle priority LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <sys/rtprio.h> int rtprio(int function, pid_t pid, struct rtprio *rtp); int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); DESCRIPTION
The rtprio() system call is used to lookup or change the realtime or idle priority of a process, or the calling thread. The rtprio_thread() system call is used to lookup or change the realtime or idle priority of a thread. The function argument specifies the operation to be performed. RTP_LOOKUP to lookup the current priority, and RTP_SET to set the priority. For the rtprio() system call, the pid argument specifies the process to operate on, 0 for the calling thread. When pid is non-zero, the sys- tem call reports the highest priority in the process, or sets all threads' priority in the process, depending on value of the function argu- ment. For the rtprio_thread() system call, the lwpid specifies the thread to operate on, 0 for the calling thread. The *rtp argument is a pointer to a struct rtprio which is used to specify the priority and priority type. This structure has the following form: struct rtprio { u_short type; u_short prio; }; The value of the type field may be RTP_PRIO_REALTIME for realtime priorities, RTP_PRIO_NORMAL for normal priorities, and RTP_PRIO_IDLE for idle priorities. The priority specified by the prio field ranges between 0 and RTP_PRIO_MAX (usually 31). 0 is the highest possible prior- ity. Realtime and idle priority is inherited through fork() and exec(). A realtime thread can only be preempted by a thread of equal or higher priority, or by an interrupt; idle priority threads will run only when no other real/normal priority thread is runnable. Higher real/idle priority threads preempt lower real/idle priority threads. Threads of equal real/idle priority are run round-robin. RETURN VALUES
The rtprio() and rtprio_thread() functions return the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error. ERRORS
The rtprio() and rtprio_thread() system calls will fail if: [EFAULT] The rtp pointer passed to rtprio() or rtprio_thread() was invalid. [EINVAL] The specified prio was out of range. [EPERM] The calling thread is not allowed to set the realtime priority. Only root is allowed to change the realtime priority of any thread, and non-root may only change the idle priority of threads the user owns, when the sysctl(8) variable security.bsd.unprivileged_idprio is set to non-zero. [ESRCH] The specified process or thread was not found or visible. SEE ALSO
nice(1), ps(1), rtprio(1), setpriority(2), nice(3), renice(8), p_cansee(9) AUTHORS
The original author was Henrik Vestergaard Draboel <hvd@terry.ping.dk>. This implementation in FreeBSD was substantially rewritten by David Greenman. The rtprio_thread() system call was implemented by David Xu. BSD
December 27, 2011 BSD
All times are GMT -4. The time now is 01:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy