I have been sitting idle (as usual -- what are scripts for!!) and just thought why can't we have a colorful thread full of screnshots of terminal emulators (PuTTY for example) of admins doing their work. It could be geeky enough and inspiring to those new to UNIX/Linux world.
Here's mine (while doing some random stuffs on couple of dev machines). Waiting for others to post theirs
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)
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)
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)
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)
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)
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
LEARN ABOUT FREEBSD
remrunqueue
RUNQUEUE(9) BSD Kernel Developer's Manual RUNQUEUE(9)NAME
choosethread, procrunnable, remrunqueue, setrunqueue -- manage the queue of runnable processes
SYNOPSIS
#include <sys/param.h>
#include <sys/proc.h>
extern struct rq itqueues[];
extern struct rq rtqueues[];
extern struct rq queues[];
extern struct rq idqueues[];
struct thread *
choosethread(void);
int
procrunnable(void);
void
remrunqueue(struct thread *td);
void
setrunqueue(struct thread *td);
DESCRIPTION
The run queue consists of four priority queues: itqueues for interrupt threads, rtqueues for realtime priority processes, queues for time
sharing processes, and idqueues for idle priority processes. Each priority queue consists of an array of NQS queue header structures. Each
queue header identifies a list of runnable processes of equal priority. Each queue also has a single word that contains a bit mask identify-
ing non-empty queues to assist in selecting a process quickly. These are named itqueuebits, rtqueuebits, queuebits, and idqueuebits. The
run queues are protected by the sched_lock mutex.
procrunnable() returns zero if there are no runnable processes other than the idle process. If there is at least one runnable process other
than the idle process, it will return a non-zero value. Note that the sched_lock mutex does not need to be held when this function is
called. There is a small race window where one CPU may place a process on the run queue when there are currently no other runnable processes
while another CPU is calling this function. In that case the second CPU will simply travel through the idle loop one additional time before
noticing that there is a runnable process. This works because idle CPUs are not halted in SMP systems. If idle CPUs are halted in SMP sys-
tems, then this race condition might have more serious repercussions in the losing case, and procrunnable() may have to require that the
sched_lock mutex be acquired.
choosethread() returns the highest priority runnable thread. If there are no runnable threads, then the idle thread is returned. This func-
tion is called by cpu_switch() and cpu_throw() to determine which thread to switch to. choosethread() must be called with the sched_lock
mutex held.
setrunqueue() adds the thread td to the tail of the appropriate queue in the proper priority queue. The thread must be runnable, i.e. p_stat
must be set to SRUN. This function must be called with the sched_lock mutex held.
remrunqueue() removes thread td from its run queue. If td is not on a run queue, then the kernel will panic(9). This function must be
called with the sched_lock mutex held.
SEE ALSO cpu_switch(9), scheduler(9), sleepqueue(9)BSD August 15, 2010 BSD