9%
16.01.2013
(nsamples):
12 x = random.random()
13 y = random.random()
14 if (x*x)+(y*y)<1:
15 inside += 1
16
17 mypi = (4.0 * inside)/nsamples
18 pi = comm.reduce(mypi, op=MPI.SUM, root=0)
19
20 if rank
9%
21.08.2014
changes. On recent systems, you can use polkit to do this. As of version 0.112, you even have a separate engine, which you can feed with JavaScript-based rules. You can really do some interesting things
9%
14.03.2018
that can be reset. However, with MariaDB 10.0.12, the performance tables are deactivated by default. To activate them, the database admin adds the line
performance_schema=on
to the my.cnf file. Detailed
9%
21.08.2014
and production.
To show how monitoring profiles can be implemented for a specific server, the example distinguishes between mail, web, and database servers. It assumes that the stable version 1.12.3 of OpenNMS [6
9%
31.07.2013
Code Example
1 #include
2
3 /* Our structure */
4 struct rec
5 {
6 int x,y,z;
7 float value;
8 };
9
10 int main()
11 {
12 int counter;
13 struct rec my
9%
12.08.2015
ACC compilers became quickly available. Version 2.0 was finalized on June 2013, although a preview was posted on November 12, 2012. It added some new capabilities and expanded functionality that had been learned
9%
22.12.2017
into the compiler (Haskell is type safe) makes attacks time-consuming or impossible, and SQL and JavaScript injections unlikely. Additionally, the Glasgow Haskell Compiler (GHC) [6], version 1.0 of which has existed
9%
26.11.2012
then easily interchange the host
element with net
; if you use the CIDR format, your command line might then look like this instead:
# ngrep port 80 and src net 12.34.56.0/24 and dst net 98
9%
17.06.2017
_schema.events_statements_summary_global_by_event_name WHERE event_name LIKE "%/savepoint";
+------------+
| COUNT_STAR |
+------------+
| 1 |
+------------+
1 row in set (0.00 sec)
Hands On
The following sections demonstrate the installation
9%
28.11.2022
of alternative sources.
Listing 1
sensors Output
federico@ferenginar:~$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +42.5¡C (high = +70.0¡C)
(crit = +100.0¡C