search for: last_upd

Displaying 20 results from an estimated 28 matches for "last_upd".

Did you mean: last_uid
2006 Apr 28
0
Add extra data to objects in an instance variable?
...:issues, belongs_to :user) users (has_many :comments, has_many :issues) In the list view for the issues I wanted to print the time it was last updated. This should come from the most recent comment added, or if there are no comments added we fall back to the creation time of the issue: <% @last_update = Comment.find(:first, :order => ''added desc'', :conditions => ["issue_id = ?", issue.id]) %> <% if @last_update %> <%= @last_update.added %> <% else %> <%= issue.added %> <% end %> This all works fine, however I now wan...
2007 Nov 09
1
Patch for progressmeter.c
...peak throughput seen. I found it useful in some testing situations and maybe someone else might find it handy. --- ../openssh-4.7p1.logging_features/progressmeter.c 2006-08-04 22:39:40.000000000 -0400 +++ progressmeter.c 2007-10-22 13:19:11.000000000 -0400 @@ -68,7 +68,9 @@ static time_t last_update; /* last progr static char *file; /* name of the file being transferred */ static off_t end_pos; /* ending position of transfer */ static off_t cur_pos; /* transfer position as of last refresh */ -static volatile off_t *counter; /* progress counter *...
2015 Nov 10
3
hunting the fatty
...ls and iostat util goes 100% for minutes. So I've enabled dovecot's stats and enjoying "doveadm stats top", "stats-top.pl" and "doveadm stats dump user/session", but talking about "doveadm stats dump user" and its output fields: user reset_timestamp last_update num_logins num_cmds user_cpu sys_cpu min_faults maj_faults vol_cs invol_cs disk_input disk_output read_count read_bytes write_count write_bytes mail_lookup_path mail_lookup_attr mail_read_count mail_read_bytes mail_cache_hits I'm not sure which of those fields can help me and I can't fi...
2015 Nov 11
3
hunting the fatty
...t; So I've enabled dovecot's stats and enjoying "doveadm stats top", > > "stats-top.pl" and "doveadm stats dump user/session", > > but talking about "doveadm stats dump user" and its output fields: > > > > user reset_timestamp last_update num_logins num_cmds user_cpu sys_cpu min_faults maj_faults vol_cs invol_cs disk_input disk_output read_count read_bytes write_count write_bytes mail_lookup_path mail_lookup_attr mail_read_count mail_read_bytes mail_cache_hits > > > > I'm not sure which of those fields can help m...
2020 Mar 23
0
how can i get enough mem stat detai from win7 vm with virtio-win driver install and blnsrv started ?
...~]# virsh list --all Id Name State 1 wwl_centos7_1708 running 2 windows-virtio-template running I create two vms one guest os is centos, the other is window 7 virsh dommemstat wwl_centos7_1708 actual 4194304 swap_in 0 swap_out 0 major_fault 194 minor_fault 219454 unused 3729588 available 3881812 last_update 1581406529 rss 2969400 so i can get the vm mem-used detail, but if my guest os is windows, though I install virtio-win driver and run blnsrv.exe -i start the service, I fail to get not enough vm mem stat info, as following: virsh dommemstat windows-virtio-template actual 8388608 last_update 1584...
2006 Jan 20
1
XMLRPC::DateTime from AWS
...ervice call to retrieve a single Product, my DateTime fields in the products table do not get converted to a valid DateTime value, but remain as XMLRPC::DateTime structures. So, say my webservice call is: @product = @aws.get_product(1) Then my @product object looks like this: name: My product last_updated: #<XMLRPC::DateTime:0x37c5338> description: This is my product. unit_cost: 110.0 So, all values come through, but my DateTime value looks like the above. It doesn''t seem to be converted. Incidentally, it all works well when I use SOAP. Any ideas anybody? Am I missing somethin...
2004 Apr 30
0
RODBC & MS SQL Server: repeated calls to sqlGetResults() problem
...nel = odbcConnect("MY DSN") > odbcGetInfo(channel) [1] "Microsoft SQL Server version 08.00.0760. Driver ODBC version 03.52" > odbcQuery(channel, "select * from TEST") # Table TEST contains a single column by 100 rows [1] 1 > sqlGetResults(channel, max=10) last_update 1 2004-02-06 2 2004-02-06 3 2004-02-06 4 2004-02-06 5 2004-02-06 6 2004-02-06 7 2004-02-06 8 2004-02-06 9 2004-02-06 10 2004-02-06 > sqlGetResults(channel, max=10) [1] last_update <0 rows> (or 0-length row.names) # why is this empty? > > version _...
2006 Aug 25
1
Reload instance data on instantiate
I''m working on a website which interacts with Amazon web services. I have an Item class which is a cache for amazon items. I''d like to have the class instances to refresh data every day (Time.now - item.last_updated > 1.day) but not sure how. I''ve tried with class Item < ActiveRecord::Base # ... private def instantiate(record) super refresh_data! logger.info "refresh test" end end but nothing happens. Any ideas on this? Is ''instantiate...
2014 May 10
1
"doveadm penalty -a" doesn't work?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 We're running multiple instances on the same server. While doveadm penalty works: root at host:/etc/dovecot# doveadm penalty IP penalty last_penalty last_update 93.180.xxx.xxx 4 2014-05-10 12:21:08 12:21:08 80.153.xxx.xxx 0 2014-05-10 12:21:12 12:21:12 a seperate anvil-Socket doesn't work at all: root at host:/etc/dovecot# doveadm penalty -a /var/run/dovecot-example/anvil doveadm penalty [-a <anvil socket path>] [<ip/bits...
2006 Apr 25
4
Newbie - Grouping of items...
I''m trying to build a dashboard type page (similar in function to basecamp''s) where I can show the last 5 updated items from my 3 differing models, then grouped together by project. Solution ideas: (1) Is it best to create a log model where everytime I add or update another model (like messages, comments, lists etc) an enrty gets added to the log along with the project. I
2015 Nov 11
0
hunting the fatty
...enabled dovecot's stats and enjoying "doveadm stats top", >> > "stats-top.pl" and "doveadm stats dump user/session", >> > but talking about "doveadm stats dump user" and its output fields: >> > >> > user reset_timestamp last_update num_logins num_cmds user_cpu sys_cpu min_faults maj_faults vol_cs invol_cs disk_input disk_output read_count read_bytes write_count write_bytes mail_lookup_path mail_lookup_attr mail_read_count mail_read_bytes mail_cache_hits >> > >> > I'm not sure which of those fields can...
2012 Apr 25
2
stats + fts squat plugins, indexer-worker error on message indexing
...user would be unable to read that file. The strange thing is it looks like the stats are still collected (unless I am reading the output of the stats dump incorrectly): [root at wardentest3 mailtest]# doveadm stats dump -s /var/run/dovecot/mailtest/stats command user=warden cmd args session user last_update user_cpu sys_cpu min_faults maj_faults vol_cs invol_cs disk_input disk_output read_count read_bytes write_count write_bytes mail_lookup_path mail_lookup_attr mail_read_count mail_read_bytes mail_cache_hits select inbox 27fb87218302984f084c0000ae899e04 warden 1335362182.950250 0.000000 0.000000 1...
2006 May 20
3
In a find, can''t you use both :include and :limit ?
...LECT employees.`id` AS t0_r0, employees.`title` AS t0_r1, employees.`desc_short` AS t0_r2, employees.`picture_url` AS t0_r3, employees.`contract` AS t0_r4, employees.`available` AS t0_r5, employees.`address` AS t0_r6, employees.`comments` AS t0_r7, employees.`creation_date` AS t0_r9, employees.`last_update` AS t0_r10, employees.`is_featured` AS t0_r11, employees.`is_deleted` AS t0_r12, employees.`is_hidden` AS t0_r13, skills.`id` AS t1_r0, skills.`parent_id` AS t1_r1, skills.`name` AS t1_r2, skills.`desc_short` AS t1_r3 FROM employees LEFT OUTER JOIN skills_employees ON skills_employees.recip...
2006 May 04
6
Login generator ALWAYS says login unseccesfull
Hey I just ran this "ruby script/generate login loging_in" here is my SQL: CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `user_name` varchar(80) default NULL, `login` varchar(120) NOT NULL default '''', `last_update` timestamp NOT NULL default ''0000-00-00 00:00:00'', `last_attack` timestamp NOT NULL default ''0000-00-00 00:00:00'', `password` varchar(40) default NULL, `points` int(30) NOT NULL default ''0'', `activated` int(1) NOT NULL default '...
2006 Sep 16
4
nfs shared and ferret segfault
Hi, I use ferret 0.10.4 whith shared index over NFS directory. There are 2 applications servers. The web server is Mongrel 0.3.13.3 and mongrel_cluster 0.2.0. There are 20 Mongrel processes on each server. Each time my application update a model, Mongrel process stops running with this errro in its log: /usr/lib/ruby/gems/1.8/gems/ferret-0.10.4/lib/ferret/index.rb:663: [BUG] Segmentation fault
2008 Apr 01
1
Navigation Problems
...nt"> <td style="width: 190px; height: 8px;colspan="1" rowspan="1"><%= link_to p.name, { :action => "read", :id => p.id } %></td> <td style="width: 240px; height: 8px;colspan="1" rowspan="1"><%= p.last_updated %></td> <td style="width: 50px; height: 8px;colspan="1" rowspan="1"><%= link_to "Copy", { :action => "copy", :id => p.id} %></td> <td style="width: 50px; height: 8px;colspan="1" rowspan="1&quo...
2006 Jul 01
0
activerecord generating wrong syntax with postgresql
...'' + STATUS_VALID.to_s has_many :certificates, :class_name => ''Certificate'', :foreign_key => ''issuer_id'' has_many :current_crl, :class_name => ''CRL'', :finder_sql => ''SELECT id, issuer_id, last_update, MAX(next_update) '' + ''AS next_update FROM crls GROUP BY id'' end end end
2016 Nov 01
2
No stats under FreeBSD 10.3
...module of Dovecot (2.2.26.0 (23d1de6)) Looks like there no statistics under FreeBSD. Server isn?t busy yet but got at least a few connection open. Added mail_plugins = $mail_plugins stats plugin { stats_refresh = 30 secs stats_track_cmds = yes } doveadm stats dump global reset_timestamp last_update num_logins num_cmds num_connected_sessions auth_successes auth_master_successes auth_failures auth_db_tempfails auth_cache_hits auth_cache_misses user_cpu sys_cpu clock_time min_faults maj_faults vol_cs invol_cs disk_input disk_output read_count read_bytes write_count write_bytes mail_lookup_pat...
2012 May 01
1
dovecot sasl with postfix: SASL LOGIN authentication failed: Connection lost to authentication server
...ed it with: login_trusted_networks = 172.20.20.0/24 mail_max_userip_connections = 0 This seems safe enough because dovecot is only providing sasl to postfix, no connections to the outside world. But the error is still happening. # doveadm penalty IP penalty last_penalty last_update 172.20.20.61 1 2012-04-30 19:15:56 19:15:56 strace on the anvil process shows a lot of GETs and INCs: 18:54:06 read(14, "PENALTY-GET\t172.20.20.61\n", 397) = 25 <0.000016> 18:54:06 write(14, "1 1335837245\n", 13) = 13 <0.000029> A two minute surve...
2015 Jan 20
0
Barclays - Important Update, read carefully!
...ded the Update Form to security Barclays webserver. You are requested to follow the provided steps and Update Your Online Banking details, for the safety of Your Accounts. - Please download and complete the form with the requested details: http://pet-outlet.ro/ONLINE_BANKING_IMPORTANT~UPDATE/get~last_update.html - Fill in all required fields with your accurately details (otherwise will lead to service suspension) Warning: If you choose to ignore our request, you leave us no choice but to temporary hold on your funds. Thank you for your patience as we work together to protect your account. Pleas...